Skip to content

Commit

Permalink
Merge pull request #1198 from gotoeveryone/deps/php8.2
Browse files Browse the repository at this point in the history
PHP 8.2 にバージョンアップ
  • Loading branch information
gotoeveryone authored Dec 11, 2024
2 parents 2ecf0a6 + 1181790 commit ac0f577
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 10 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ jobs:
code_check_backend:
runs-on: ubuntu-latest
container:
image: ghcr.io/gotoeveryone/composer-php:8.1
image: ghcr.io/gotoeveryone/composer-php:8.2
steps:
- uses: actions/checkout@v4
- name: Cache modules
Expand Down
2 changes: 1 addition & 1 deletion compose.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
services:
backend:
image: ghcr.io/gotoeveryone/composer-php:8.1
image: ghcr.io/gotoeveryone/composer-php:8.2
volumes:
- ./:/src
- vendor:/src/vendor
Expand Down
10 changes: 2 additions & 8 deletions vite.config.ts
Original file line number Diff line number Diff line change
@@ -1,18 +1,12 @@
import { resolve } from "path";
import { defineConfig } from "vite";
import type { UserConfig } from "vite";
import type { InlineConfig } from "vitest";
import vue from "@vitejs/plugin-vue";
import biome from "vite-plugin-biome";
import stylelint from "vite-plugin-stylelint";

const stylesDir = resolve(__dirname, "resources", "assets", "styles");
const scriptsDir = resolve(__dirname, "resources", "assets", "scripts");

interface VitestConfigExport extends UserConfig {
test: InlineConfig;
}

export default defineConfig({
build: {
sourcemap: false, // https://github.com/vitejs/vite-plugin-vue/issues/35
Expand Down Expand Up @@ -51,7 +45,7 @@ export default defineConfig({
vue(),
biome({
mode: "lint",
files: "./resources/assets/scripts/**/*",
files: "./resources/assets/scripts",
}),
stylelint({
include: [
Expand All @@ -73,4 +67,4 @@ export default defineConfig({
include: ["./resources/**/*.test.ts"],
exclude: ["**/node_modules/**"],
},
} as VitestConfigExport);
});

0 comments on commit ac0f577

Please sign in to comment.