Skip to content

Commit e9b2eea

Browse files
committed
Update publish-npm.yml
1 parent 393f5e7 commit e9b2eea

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

.github/workflows/publish-npm.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,11 @@ jobs:
1919
- name: Checkout repository
2020
uses: actions/checkout@v4
2121

22+
- name: Setup Node
23+
uses: actions/setup-node@v4
24+
with:
25+
node-version: 20
26+
2227
- name: Get package version
2328
id: package_version
2429
run: |
@@ -96,6 +101,7 @@ jobs:
96101
97102
- name: Publish to NPM
98103
if: steps.npm_check.outputs.exists == 'false'
104+
run: |
99105
echo "::remove-mask::$NODE_AUTH_TOKEN"
100106
echo "NPM TOKEN $NODE_AUTH_TOKEN"
101107
npm publish --access public

0 commit comments

Comments
 (0)