Skip to content

Commit fe9b711

Browse files
committed
attempt to speed up ci: isolate rollup tests
1 parent 4e65c73 commit fe9b711

File tree

1 file changed

+23
-4
lines changed

1 file changed

+23
-4
lines changed

.github/workflows/ci.yml

Lines changed: 23 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,29 @@ on:
77
branches: ['*']
88

99
jobs:
10+
esbuild-rollup:
11+
name: esbuild CI (Rollup Tests)
12+
runs-on: ubuntu-latest
13+
14+
steps:
15+
- name: Set up Go 1.x
16+
uses: actions/setup-go@v2
17+
with:
18+
go-version: 1.19
19+
id: go
20+
21+
- name: Setup Node.js environment
22+
uses: actions/[email protected]
23+
with:
24+
node-version: 16
25+
26+
- name: Check out code into the Go module directory
27+
uses: actions/checkout@v2
28+
29+
- name: Rollup Tests
30+
# Split these out into their own runner because they're very slow
31+
run: make test-rollup
32+
1033
esbuild:
1134
name: esbuild CI
1235
runs-on: ${{ matrix.os }}
@@ -123,10 +146,6 @@ jobs:
123146
if: matrix.os == 'ubuntu-latest'
124147
run: CI=1 make uglify
125148

126-
- name: Rollup Tests
127-
if: matrix.os == 'ubuntu-latest'
128-
run: make test-rollup
129-
130149
- name: Check the unicode table generator
131150
if: matrix.os == 'ubuntu-latest'
132151
run: cd scripts && node gen-unicode-table.js

0 commit comments

Comments
 (0)