You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
518 B
24 lines
518 B
name: CI |
|
|
|
on: |
|
pull_request: |
|
push: |
|
branches: [ master ] |
|
|
|
jobs: |
|
tests-linux: |
|
runs-on: ubuntu-latest |
|
strategy: |
|
fail-fast: false |
|
matrix: |
|
node-version: [10.16.0, 10.x, 12.x, 14.x, 16.x] |
|
steps: |
|
- uses: actions/checkout@v2 |
|
- name: Use Node.js ${{ matrix.node-version }} |
|
uses: actions/setup-node@v1 |
|
with: |
|
node-version: ${{ matrix.node-version }} |
|
- name: Install module |
|
run: npm install |
|
- name: Run tests |
|
run: npm test
|
|
|