-
Notifications
You must be signed in to change notification settings - Fork 152
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* move to github actions (#306) # Conflicts: # .travis.yml * add node 12 14 and 16 to test matrix * Fix ERR_INVALID_ARG_TYPE on Node.js nightly (#230) # Conflicts: # src/WorkerHandler.js Co-authored-by: Antoine du Hamel <duhamelantoine1995@gmail.com>
- Loading branch information
Showing
3 changed files
with
36 additions
and
7 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 |
---|---|---|
@@ -0,0 +1,33 @@ | ||
name: Node.js CI | ||
|
||
on: [push, pull_request] | ||
|
||
jobs: | ||
build: | ||
|
||
runs-on: ubuntu-latest | ||
|
||
strategy: | ||
matrix: | ||
include: | ||
- node-version: 6.x | ||
install-command: npm install | ||
- node-version: 8.x | ||
install-command: npm ci | ||
- node-version: 10.x | ||
install-command: npm ci | ||
- node-version: 12.x | ||
install-command: npm ci | ||
- node-version: 14.x | ||
install-command: npm ci | ||
- node-version: 16.x | ||
install-command: npm ci | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Use Node.js ${{ matrix.node-version }} | ||
uses: actions/setup-node@v1 | ||
with: | ||
node-version: ${{ matrix.node-version }} | ||
- run: ${{ matrix.install-command }} | ||
- run: npm test |
This file was deleted.
Oops, something went wrong.
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