Skip to content

Commit

Permalink
Merge pull request #37 from github/dg/node-22
Browse files Browse the repository at this point in the history
Use node 22 for actions
  • Loading branch information
dgreif authored Oct 14, 2024
2 parents fc931e6 + ce2c3f7 commit 37641a2
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/nodejs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@ jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Use Node.js
uses: actions/setup-node@v4
with:
node-version: 20
node-version: 22
cache: npm
- run: npm install
- run: npm run build
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@ jobs:
publish-npm:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20
node-version: 22
registry-url: https://registry.npmjs.org/
cache: npm
- run: npm ci
Expand Down
2 changes: 1 addition & 1 deletion rollup.config.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import pkg from './package.json' assert {type: 'json'}
import pkg from './package.json' with {type: 'json'}

export default {
input: 'dist/index.js',
Expand Down

0 comments on commit 37641a2

Please sign in to comment.