Skip to content

Commit 792a62e

Browse files
committed
use actions/setup-node a second time for the publish task
1 parent db72ef0 commit 792a62e

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

.github/workflows/push-tagged-release.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,11 +67,14 @@ jobs:
6767
token: ${{ secrets.GITHUB_TOKEN }}
6868
projectToken: ${{ secrets.chromaticToken }}
6969
exitZeroOnChanges: true
70+
- uses: actions/setup-node@main
71+
with:
72+
node-version: "lts/krypton"
73+
registry-url: "https://registry.npmjs.org"
7074
- name: Publish npm package
7175
run: yarn publish --access public
7276
env:
7377
NODE_AUTH_TOKEN: ${{ secrets.npmjsToken }}
74-
registry-url: "https://registry.npmjs.org"
7578
- name: Prepare release info
7679
# only use for final releases and RCs -- other pre-releases do not need an official announcement
7780
if: inputs.onlyNpmPush != true

0 commit comments

Comments
 (0)