Skip to content

Commit c1f091d

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

File tree

3 files changed

+9
-1
lines changed

3 files changed

+9
-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: 3 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",
@@ -37,6 +38,7 @@
3738
"devDependencies": {
3839
"@eslint/compat": "^1.3.2",
3940
"@eslint/js": "^9.36.0",
41+
"eslint": "^9.36.0",
4042
"@iconify/json": "^2.2.386",
4143
"@iconify/tailwind4": "^1.0.6",
4244
"@playwright/test": "^1.55.0",

pnpm-lock.yaml

Lines changed: 3 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)