Skip to content

Commit

Permalink
attempt to speed up ci: isolate rollup tests
Browse files Browse the repository at this point in the history
  • Loading branch information
evanw committed Aug 2, 2022
1 parent 4e65c73 commit fe9b711
Showing 1 changed file with 23 additions and 4 deletions.
27 changes: 23 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,29 @@ on:
branches: ['*']

jobs:
esbuild-rollup:
name: esbuild CI (Rollup Tests)
runs-on: ubuntu-latest

steps:
- name: Set up Go 1.x
uses: actions/setup-go@v2
with:
go-version: 1.19
id: go

- name: Setup Node.js environment
uses: actions/[email protected]
with:
node-version: 16

- name: Check out code into the Go module directory
uses: actions/checkout@v2

- name: Rollup Tests
# Split these out into their own runner because they're very slow
run: make test-rollup

esbuild:
name: esbuild CI
runs-on: ${{ matrix.os }}
Expand Down Expand Up @@ -123,10 +146,6 @@ jobs:
if: matrix.os == 'ubuntu-latest'
run: CI=1 make uglify

- name: Rollup Tests
if: matrix.os == 'ubuntu-latest'
run: make test-rollup

- name: Check the unicode table generator
if: matrix.os == 'ubuntu-latest'
run: cd scripts && node gen-unicode-table.js
Expand Down

0 comments on commit fe9b711

Please sign in to comment.