Update Node in Actions
This commit is contained in:
parent
9ba40ef7af
commit
673996169f
1 changed files with 3 additions and 3 deletions
6
.github/workflows/main.yml
vendored
6
.github/workflows/main.yml
vendored
|
@ -4,18 +4,18 @@ on:
|
||||||
- push
|
- push
|
||||||
jobs:
|
jobs:
|
||||||
main:
|
main:
|
||||||
name: '${{ matrix.node }}'
|
name: ${{matrix.node}}
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
- uses: dcodeIO/setup-node-nvm@master
|
- uses: dcodeIO/setup-node-nvm@master
|
||||||
with:
|
with:
|
||||||
node-version: ${{ matrix.node }}
|
node-version: ${{matrix.node}}
|
||||||
- run: npm install
|
- run: npm install
|
||||||
- run: npm test
|
- run: npm test
|
||||||
- uses: codecov/codecov-action@v1
|
- uses: codecov/codecov-action@v1
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
node:
|
node:
|
||||||
- lts/dubnium
|
- lts/erbium
|
||||||
- node
|
- node
|
||||||
|
|
Loading…
Add table
Reference in a new issue