Skip to content

Commit 8d86a67

Browse files
authored
Merge pull request #303 from github/node22
Use node v22
2 parents 8490db2 + 4789b31 commit 8d86a67

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

.github/workflows/publish.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
- uses: actions/checkout@v3
1616
- uses: actions/setup-node@v3
1717
with:
18-
node-version: 18
18+
node-version: 22
1919
registry-url: https://registry.npmjs.org/
2020
cache: npm
2121
- run: npm install -g npm@latest
@@ -29,15 +29,15 @@ jobs:
2929
NODE_AUTH_TOKEN: ${{secrets.npm_token}}
3030
publish-github:
3131
name: Publish to GitHub Packages
32-
runs-on: ubuntu-latest
33-
permissions:
32+
runs-on: ubuntu-latest
33+
permissions:
3434
contents: read
3535
packages: write
3636
steps:
3737
- uses: actions/checkout@v3
3838
- uses: actions/setup-node@v3
3939
with:
40-
node-version: 18
40+
node-version: 22
4141
registry-url: https://npm.pkg.github.com
4242
cache: npm
4343
scope: '@github'

.github/workflows/test.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
- name: Use Node.js 18.x
1515
uses: actions/setup-node@v3
1616
with:
17-
node-version: 18.x
17+
node-version: 22
1818
- name: npm install, build, and test
1919
run: |
2020
npm it

0 commit comments

Comments
 (0)