Skip to content

Commit

Permalink
ci: Fix "Unsupported engine" error (#73)
Browse files Browse the repository at this point in the history
* ci: Use a supported version of npm

* ci: Bump actions/checkout from v3 to v4

* ci: Bump actions/setup-node from v3 to v4
  • Loading branch information
seanpoulter authored Mar 4, 2024
1 parent dd2209e commit 0fb7cdc
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,12 +25,11 @@ jobs:
matrix:
node-version: [16.x, 18.x]
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
- run: npm i -g npm@latest
- run: npm ci --ignore-scripts
- run: npm run build --if-present
- run: npm test
Expand All @@ -43,12 +42,11 @@ jobs:
matrix:
node-version: [16.x]
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
- run: npm i -g npm@latest
- run: npm ci --ignore-scripts
- run: npm run build --if-present
- run: npm test
Expand Down

0 comments on commit 0fb7cdc

Please sign in to comment.