Skip to content

Commit

Permalink
Merge pull request #303 from github/node22
Browse files Browse the repository at this point in the history
Use node v22
  • Loading branch information
camertron authored Jan 13, 2025
2 parents 8490db2 + 4789b31 commit 8d86a67
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 18
node-version: 22
registry-url: https://registry.npmjs.org/
cache: npm
- run: npm install -g npm@latest
Expand All @@ -29,15 +29,15 @@ jobs:
NODE_AUTH_TOKEN: ${{secrets.npm_token}}
publish-github:
name: Publish to GitHub Packages
runs-on: ubuntu-latest
permissions:
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 18
node-version: 22
registry-url: https://npm.pkg.github.com
cache: npm
scope: '@github'
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
- name: Use Node.js 18.x
uses: actions/setup-node@v3
with:
node-version: 18.x
node-version: 22
- name: npm install, build, and test
run: |
npm it
Expand Down

0 comments on commit 8d86a67

Please sign in to comment.