Skip to content

Commit

Permalink
Update node version in actions
Browse files Browse the repository at this point in the history
  • Loading branch information
dgreif committed Oct 14, 2024
1 parent 6e339ff commit 35b12dc
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 13 deletions.
21 changes: 10 additions & 11 deletions .github/workflows/nodejs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,13 @@ jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Use Node.js
uses: actions/setup-node@v1
with:
node-version: '16.x'
- run: npm install
- run: npm run build
- run: npm test
env:
CI: true

- uses: actions/checkout@v3
- name: Use Node.js
uses: actions/setup-node@v4
with:
cache: npm
- run: npm install
- run: npm run build
- run: npm test
env:
CI: true
3 changes: 1 addition & 2 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,8 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
- uses: actions/setup-node@v4
with:
node-version: 14
registry-url: https://registry.npmjs.org/
cache: npm
- run: npm ci
Expand Down

0 comments on commit 35b12dc

Please sign in to comment.