Skip to content

Commit

Permalink
Merge pull request #28 from github/ci-test-with-node-20
Browse files Browse the repository at this point in the history
CI test with Node 20
  • Loading branch information
peterbe authored Aug 9, 2024
2 parents ceac2b2 + d50fada commit 121b5e2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/nodejs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,14 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Use Node.js 16.x
- name: Use Node.js 20.x
uses: actions/setup-node@v2
with:
node-version: 16.x
node-version: 20.x
- name: npm install, build, and test
run: |
npm install
npm run build --if-present
npm test
env:
CI: true

2 changes: 1 addition & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 16
node-version: 20
registry-url: https://registry.npmjs.org/
cache: npm
- run: npm ci
Expand Down

0 comments on commit 121b5e2

Please sign in to comment.