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 18, 2022
1 parent 773e561 commit 3c410d3
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,12 @@ 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}}
#cache: npm
- run: npm install -g npm@7 # https://github.com/npm/cli/issues/4341#issuecomment-1040608101
- run: npm install -g npm
- run: npm install
- run: npm test
Expand All @@ -22,4 +25,4 @@ jobs:
- windows-latest
node:
- lts/erbium
- node
- lts/*

0 comments on commit 3c410d3

Please sign in to comment.