24 lines
450 B
YAML
24 lines
450 B
YAML
|
name: CI
|
||
|
on:
|
||
|
- push
|
||
|
- pull_request
|
||
|
jobs:
|
||
|
test:
|
||
|
name: Node.js ${{ matrix.node-version }}
|
||
|
runs-on: ubuntu-latest
|
||
|
strategy:
|
||
|
fail-fast: false
|
||
|
matrix:
|
||
|
node-version:
|
||
|
- 14
|
||
|
- 12
|
||
|
- 10
|
||
|
- 8
|
||
|
steps:
|
||
|
- uses: actions/checkout@v2
|
||
|
- uses: actions/setup-node@v1
|
||
|
with:
|
||
|
node-version: ${{ matrix.node-version }}
|
||
|
- run: npm install
|
||
|
- run: npm test
|