Skip to content

Commit

Permalink
ci(release): fix release auth and upgrade cache action version
Browse files Browse the repository at this point in the history
  • Loading branch information
uittorio committed Dec 25, 2023
1 parent 5ec59d2 commit 2d50794
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
registry-url: https://registry.npmjs.org/
- name: Cache node_modules
if: github.event_name == 'push' || github.event_name == 'pull_request'
uses: actions/cache@v1
uses: actions/cache@v3
env:
cache-name: cache-node-modules
with:
Expand All @@ -42,7 +42,6 @@ jobs:
- name: Register Token
run: |
echo "//registry.npmjs.org/:_authToken=$NODE_AUTH_TOKEN" > /home/runner/work/_temp/.npmrc
echo "_auth=$NODE_AUTH_TOKEN" >> /home/runner/work/_temp/.npmrc
echo "email=<[email protected]>" >> /home/runner/work/_temp/.npmrc
echo "always-auth=true" >> /home/runner/work/_temp/.npmrc
env:
Expand Down

0 comments on commit 2d50794

Please sign in to comment.