Skip to content

Commit

Permalink
Update CI/CD to v2 and node 16
Browse files Browse the repository at this point in the history
  • Loading branch information
DavideViolante committed Dec 17, 2021
1 parent 23ce70f commit 0462951
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 9 deletions.
9 changes: 3 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,12 @@ on:
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [12.x, 14.x]
steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
- uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}
node-version: '16'
cache: 'npm'
- run: npm ci
- run: npm run lint
- run: npm test
7 changes: 4 additions & 3 deletions .github/workflows/coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,11 @@ jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: actions/setup-node@v1
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: 14.x
node-version: '16'
cache: 'npm'

- name: Coverage
run: |
Expand Down

0 comments on commit 0462951

Please sign in to comment.