Skip to content

Commit

Permalink
chore: try fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Yizack committed Feb 2, 2025
1 parent 6457ab7 commit db3464c
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/autofix.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,14 +18,15 @@ jobs:
node-version: 22
- run: |
corepack enable
SHA_SUM=$(npm view [email protected] dist.shasum)
corepack install -g [email protected]+sha1.$SHA_SUM
packageManager=$(node -p "require('./package.json').packageManager")
SHA_SUM=$(npm view $packageManager dist.shasum)
corepack install -g $packageManager+sha1.$SHA_SUM
- name: 📦 Install dependencies
run: pnpm install

- name: 🔎 Lint (code)
run: pnpm lint --fix
run: pnpm lint:fix

- name: ⚙️ Auto-fix
uses: autofix-ci/action@ea32e3a12414e6d3183163c3424a7d7a8631ad84
5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,11 @@
"postinstall": "nuxt prepare",
"typecheck": "nuxt typecheck",
"db:migrate": "drizzle-kit generate --config=.config/drizzle.ts",
"lint": "pnpm lint:eslint --fix && pnpm lint:stylelint --fix",
"lint": "pnpm lint:eslint && pnpm lint:stylelint",
"lint:eslint": "eslint --config .config/eslint.mjs",
"lint:stylelint": "stylelint \"**/*.{css,scss,sass}\" --config .config/stylelint.json",
"lint:eslint:inspect": "npx @eslint/config-inspector --config .config/eslint.mjs",
"lint:fix": "pnpm lint:eslint --fix && pnpm lint:stylelint --fix",
"cf:toml": "npx wrangler pages download config mappedlove",
"cf:dev": "npm run cf:toml && set NITRO_PRESET=cloudflare-pages&&npm run build && wrangler pages dev dist",
"docs:dev": "vitepress dev docs",
Expand Down Expand Up @@ -73,5 +74,5 @@
"wrangler": "^3.107.2",
"zod": "^3.24.1"
},
"packageManager": "[email protected]+sha512.845196026aab1cc3f098a0474b64dfbab2afe7a1b4e91dd86895d8e4aa32a7a6d03049e2d0ad770bbe4de023a7122fb68c1a1d6e0d033c7076085f9d5d4800d4"
"packageManager": "[email protected]"
}

0 comments on commit db3464c

Please sign in to comment.