Skip to content

Commit a44e847

Browse files
committed
ci: add pnpm check:ci
1 parent 7a560f9 commit a44e847

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,9 @@ jobs:
1919
- name: Setup Node.js and pnpm
2020
uses: ./.github/actions/setup-node-pnpm
2121

22+
- name: Run checks (type check, lint, tests)
23+
run: pnpm check:ci
24+
2225
- name: Build application
2326
run: pnpm run build
2427

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,9 @@
1111
"preview": "vite preview",
1212
"_format": "prettier --cache --cache-location .cache/prettier",
1313
"format": "pnpm _format --write .",
14-
"lint": "pnpm format && oxlint && eslint",
14+
"lint": "oxlint && eslint",
1515
"check": "pnpm format && svelte-check --tsconfig ./tsconfig.json && pnpm lint && pnpm test",
16+
"check:ci": "svelte-check --tsconfig ./tsconfig.json && pnpm lint && pnpm test",
1617
"check:watch": "svelte-check --tsconfig ./tsconfig.json --watch",
1718
"build:content": "node scripts/generateContent.ts --no-cache",
1819
"build:progress": "node scripts/generateReadMeProgress.ts",

0 commit comments

Comments
 (0)