File tree Expand file tree Collapse file tree 6 files changed +33
-6
lines changed Expand file tree Collapse file tree 6 files changed +33
-6
lines changed Original file line number Diff line number Diff line change 4242 - name : Install dependencies
4343 run : npm ci --no-audit
4444 - name : Build package
45- run : npm run build
45+ run : npm run build:ci
4646 - run : npm run e2e
4747 - name : Notify Slack
4848 uses : 8398a7/action-slack@v3
9292 - name : Install dependencies
9393 run : npm ci --no-audit
9494 - name : Build package
95- run : npm run build
95+ run : npm run build:ci
9696 - run : npm run e2e
9797 - name : Notify Slack
9898 uses : 8398a7/action-slack@v3
Original file line number Diff line number Diff line change 5555 - name : Install core dependencies
5656 run : npm ci --no-audit
5757 - name : Build package
58- run : npm run build
58+ run : npm run build:ci
5959 - name : Generate self-signed certificates
6060 run : npm run certs
6161 shell : bash
@@ -142,7 +142,7 @@ jobs:
142142 - name : Install core dependencies
143143 run : npm ci --no-audit
144144 - name : Build package
145- run : npm run build
145+ run : npm run build:ci
146146 - name : Generate self-signed certificates
147147 run : npm run certs
148148 shell : bash
Original file line number Diff line number Diff line change 2323 run : npm ci --no-audit
2424 # Almost not needed, but a single file in `scripts/` imports built code
2525 - name : Build package
26- run : npm run build
26+ run : npm run build:ci
2727 - name : Run lint
2828 run : npm run lint
Original file line number Diff line number Diff line change 1+ name : Typecheck
2+
3+ on :
4+ push :
5+ branches : [main]
6+ pull_request :
7+ branches : [main]
8+
9+ jobs :
10+ typecheck :
11+ name : Typecheck
12+ if : " ${{ !startsWith(github.head_ref, 'release-') }}"
13+ runs-on : ubuntu-latest
14+ steps :
15+ - name : Git checkout
16+ uses : actions/checkout@v4
17+ - name : Set up Node.js
18+ uses : actions/setup-node@v4
19+ with :
20+ node-version : 22
21+ cache : npm
22+ - name : Install core dependencies
23+ run : npm ci --no-audit
24+ - name : Run typecheck
25+ run : npm run typecheck
Original file line number Diff line number Diff line change 3131 - name : Install core dependencies
3232 run : npm ci --no-audit
3333 - name : Build package
34- run : npm run build
34+ run : npm run build:ci
3535 - name : Run unit tests
3636 uses : nick-fields/retry@v3
3737 with :
Original file line number Diff line number Diff line change 3232 },
3333 "scripts" : {
3434 "build" : " tsc" ,
35+ "build:ci" : " tsc --noCheck" ,
3536 "certs" : " openssl req -x509 -out localhost.crt -keyout localhost.key -newkey rsa:2048 -nodes -sha256 -subj \" /CN=localhost\" -extensions EXT -config certconf" ,
3637 "dev" : " tsc --watch" ,
3738 "e2e" : " node ./tools/e2e/run.js" ,
5657 "test:init:hugo-deps" : " npm ci --prefix tests/integration/__fixtures__/hugo-site --no-audit" ,
5758 "test:init:monorepo-deps" : " cd tests/integration/__fixtures__/monorepo && pnpm install --frozen-lockfile" ,
5859 "test:init:next-deps" : " npm ci --prefix tests/integration/__fixtures__/next-app-without-config --no-audit && npm ci --prefix tests/integration/__fixtures__/next-app --no-audit" ,
60+ "typecheck" : " tsc --noEmit" ,
5961 "watch" : " c8 --reporter=lcov vitest --watch"
6062 },
6163 "config" : {
You can’t perform that action at this time.
0 commit comments