Skip to content

Commit 5353f16

Browse files
committed
ci: add lint:ci script
1 parent 4e75c39 commit 5353f16

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
strategy:
2121
fail-fast: true
2222
matrix:
23-
script: ["format", "lint", "typecheck:ci"]
23+
script: ["format", "lint:ci", "typecheck:ci"]
2424

2525
steps:
2626
- name: Checkout repo

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,7 @@
6363
"format:fix": "prettier . --write",
6464
"lint": "next lint",
6565
"lint:fix": "next lint --fix",
66+
"lint:ci": "next build --no-lint && next lint",
6667
"now-build": "pnpm run build",
6768
"start": "next start",
6869
"typecheck": "tsc --noEmit",

0 commit comments

Comments
 (0)