diff --git a/.github/workflows/autofix.yml b/.github/workflows/autofix.yml index 50f4cdb5b..9b5972b70 100644 --- a/.github/workflows/autofix.yml +++ b/.github/workflows/autofix.yml @@ -15,16 +15,14 @@ jobs: steps: - uses: actions/checkout@v6 - - uses: pnpm/action-setup@v4 - - - uses: actions/setup-node@v6 + - uses: voidzero-dev/setup-vp@v1 with: - node-version: lts/* - cache: pnpm + node-version: "24" + cache: true - - run: pnpm install --frozen-lockfile + - run: vp install - - run: pnpm run lint:fix - - run: pnpm run fmt:fix + - run: vp fmt --fix + - run: vp lint --fix - uses: autofix-ci/action@7a166d7532b277f34e16238930461bf77f9d7ed8 diff --git a/.vscode/settings.json b/.vscode/settings.json index c532c8db5..07f4299d7 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -3,7 +3,7 @@ "editor.defaultFormatter": "oxc.oxc-vscode" }, "editor.codeActionsOnSave": { - "source.fixAll.oxc": "always" + "source.fixAll.oxc": "explicit" }, "editor.defaultFormatter": "oxc.oxc-vscode", "editor.formatOnSave": true, @@ -25,6 +25,7 @@ "i18n-ally.sourceLanguage": "en-US", "oxc.enable.oxfmt": true, "oxc.enable.oxlint": true, + "oxc.fmt.configPath": "./vite.config.ts", "search.exclude": { "**/routeTree.gen.ts": true, "locales/**.po": true,