Skip to content

Commit

Permalink
Fix CI: npm ERR! Unexpected token '.'
Browse files Browse the repository at this point in the history
  • Loading branch information
jablko committed Feb 17, 2022
1 parent 7d0aeee commit 9f2c248
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,18 +8,19 @@ jobs:
runs-on: ${{matrix.os}}
steps:
- uses: actions/checkout@v2
- uses: dcodeIO/setup-node-nvm@master
- name: Use Node.js ${{matrix.node}}
uses: actions/setup-node@v2
with:
node-version: ${{matrix.node}}
- run: npm install -g npm
#cache: npm
- run: npm install
- run: npm test
- uses: codecov/codecov-action@v1
strategy:
matrix:
os:
- ubuntu-latest
- windows-latest
#- windows-latest
node:
- lts/erbium
- node
- 17 # https://github.com/actions/setup-node/pull/279

0 comments on commit 9f2c248

Please sign in to comment.