Skip to content

Commit 7be136d

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

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
@@ -22,6 +22,9 @@ jobs:
2222
- name: Build application
2323
run: pnpm run build
2424

25+
- name: Run checks
26+
run: pnpm check:ci
27+
2528
- name: Install Playwright Chromium
2629
run: pnpm run test:e2e:install
2730

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)