Skip to content

Commit 7d24eaf

Browse files
committed
Add a --bundle=false variant to CI
1 parent 733c0e6 commit 7d24eaf

File tree

1 file changed

+23
-1
lines changed

1 file changed

+23
-1
lines changed

.github/workflows/ci.yml

+23-1
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,13 @@ jobs:
2121
- "*"
2222
- lts/*
2323
- lts/-1
24+
bundle:
25+
- "true"
26+
include:
27+
- node-version: "*"
28+
bundle: "false"
29+
30+
name: Test Node ${{ matrix.node-version }} with --bundle=${{ matrix.bundle }}
2431

2532
steps:
2633
- uses: actions/checkout@v3
@@ -32,7 +39,7 @@ jobs:
3239
- run: npm ci
3340

3441
- name: Tests
35-
run: npm test
42+
run: npm run test -- --bundle=${{ matrix.bundle }}
3643

3744
lint:
3845
runs-on: ubuntu-latest
@@ -68,6 +75,21 @@ jobs:
6875
- name: Validate the browser can import TypeScript
6976
run: gulp test-browser-integration
7077

78+
typecheck:
79+
runs-on: ubuntu-latest
80+
81+
steps:
82+
- uses: actions/checkout@v3
83+
- uses: actions/setup-node@v3
84+
with:
85+
node-version: "*"
86+
check-latest: true
87+
- run: npm ci
88+
89+
- name: Build src
90+
run: npx hereby build-src
91+
92+
7193
misc:
7294
runs-on: ubuntu-latest
7395

0 commit comments

Comments
 (0)