-
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
7 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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", | ||
|
@@ -73,5 +74,5 @@ | |
"wrangler": "^3.107.2", | ||
"zod": "^3.24.1" | ||
}, | ||
"packageManager": "[email protected]+sha512.845196026aab1cc3f098a0474b64dfbab2afe7a1b4e91dd86895d8e4aa32a7a6d03049e2d0ad770bbe4de023a7122fb68c1a1d6e0d033c7076085f9d5d4800d4" | ||
"packageManager": "[email protected]" | ||
} |