Skip to content

Commit 37641a2

Browse files
authored
Merge pull request #37 from github/dg/node-22
Use node 22 for actions
2 parents fc931e6 + ce2c3f7 commit 37641a2

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

.github/workflows/nodejs.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,11 @@ jobs:
66
build:
77
runs-on: ubuntu-latest
88
steps:
9-
- uses: actions/checkout@v3
9+
- uses: actions/checkout@v4
1010
- name: Use Node.js
1111
uses: actions/setup-node@v4
1212
with:
13-
node-version: 20
13+
node-version: 22
1414
cache: npm
1515
- run: npm install
1616
- run: npm run build

.github/workflows/publish.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,10 @@ jobs:
1212
publish-npm:
1313
runs-on: ubuntu-latest
1414
steps:
15-
- uses: actions/checkout@v3
15+
- uses: actions/checkout@v4
1616
- uses: actions/setup-node@v4
1717
with:
18-
node-version: 20
18+
node-version: 22
1919
registry-url: https://registry.npmjs.org/
2020
cache: npm
2121
- run: npm ci

rollup.config.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import pkg from './package.json' assert {type: 'json'}
1+
import pkg from './package.json' with {type: 'json'}
22

33
export default {
44
input: 'dist/index.js',

0 commit comments

Comments
 (0)