diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 8f4b22b..4ad184a 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -6,6 +6,9 @@ on: pull_request: branches: [main] +env: + FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: true + jobs: lint-backend: name: Backend Lint @@ -37,7 +40,7 @@ jobs: - uses: actions/setup-node@v4 with: - node-version: 20 + node-version: 22 - name: Install pnpm uses: pnpm/action-setup@v4 @@ -84,7 +87,7 @@ jobs: - uses: actions/setup-node@v4 with: - node-version: 20 + node-version: 22 - name: Install pnpm uses: pnpm/action-setup@v4 @@ -115,7 +118,7 @@ jobs: - uses: actions/setup-node@v4 with: - node-version: 20 + node-version: 22 - name: Install dependencies run: npm ci diff --git a/frontend/package.json b/frontend/package.json index d3f79d4..0b6484d 100644 --- a/frontend/package.json +++ b/frontend/package.json @@ -9,7 +9,7 @@ "preview": "vite preview", "test": "vitest run", "test:watch": "vitest", - "lint": "eslint src/", + "lint": "eslint src/ --max-warnings 50", "lint:fix": "eslint src/ --fix" }, "dependencies": {