Skip to content

Commit

Permalink
update checkout and setup-node version
Browse files Browse the repository at this point in the history
  • Loading branch information
midzer committed Dec 12, 2024
1 parent d9985ba commit 5e07f06
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/npm-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,12 @@ jobs:
packages: write

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4

# Setup .npmrc file to publish to npm
- uses: actions/setup-node@v2
- uses: actions/setup-node@v4
with:
node-version: '18.x'
node-version: 18
registry-url: 'https://registry.npmjs.org'

- run: npm ci
Expand All @@ -31,9 +31,9 @@ jobs:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

# Setup .npmrc file to publish to GitHub Packages
- uses: actions/setup-node@v2
- uses: actions/setup-node@v4
with:
node-version: '18.x'
node-version: 18
registry-url: 'https://npm.pkg.github.com'
scope: '@midzer'

Expand Down

0 comments on commit 5e07f06

Please sign in to comment.