Skip to content

Commit

Permalink
Use node v22
Browse files Browse the repository at this point in the history
  • Loading branch information
camertron committed Jan 13, 2025
1 parent 8490db2 commit 4789b31
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 4789b31

Please sign in to comment.