Skip to content

Commit

Permalink
chore: Update node version in github workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
3urobeat committed Sep 7, 2024
1 parent 0e0e9a1 commit 9f2e5da
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: npm-publish # Credit: https://github.com/formium/tsdx/issues/854#issuecomment-800112282 (modified to run on release)
on:
on:
push:
tags:
- '*'
Expand All @@ -16,7 +16,7 @@ jobs:
- name: Setup Node.js (NPM)
uses: actions/setup-node@master
with:
node-version: '12.x'
node-version: '22.x'
registry-url: 'https://registry.npmjs.org'

- name: Use cached node_modules
Expand Down Expand Up @@ -65,7 +65,7 @@ jobs:
- name: Setup Node.js (GPR)
uses: actions/setup-node@master
with:
node-version: '12.x'
node-version: '22.x'
registry-url: https://npm.pkg.github.com/
scope: '${{ env.actor_name }}'

Expand Down Expand Up @@ -96,4 +96,4 @@ jobs:
run: npm publish --access public
env:
CI: true
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 9f2e5da

Please sign in to comment.