Skip to content

Commit

Permalink
Test using npm@8 for Node 17. (#289)
Browse files Browse the repository at this point in the history
* Use npm@8 for Node <= 17.

* This package doesn't test on Node 18 yet, so install npm@8 unconditionally.
  • Loading branch information
bicknellr authored Dec 2, 2022
1 parent d02f6d9 commit 075e559
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,9 @@ jobs:
with:
node-version: ${{ matrix.node }}

- name: Install latest npm
run: npm i -g npm
# npm@9 doesn't support Node 17.
- name: Install npm@8
run: npm i -g npm@8

- name: Install
run: npm ci
Expand Down

0 comments on commit 075e559

Please sign in to comment.