-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
attempt to speed up ci: isolate rollup tests
- Loading branch information
Showing
1 changed file
with
23 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 }} | ||
|
@@ -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 | ||
|