Skip to content

Commit 9e0983d

Browse files
committed
Fix npm publish
1 parent d1dffd5 commit 9e0983d

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

.github/workflows/release-tag.yaml

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,9 +45,18 @@ jobs:
4545
echo "::set-output name=version::$version"
4646
- name: Checkout
4747
uses: actions/checkout@v2
48+
- uses: actions/setup-node@v1
49+
with:
50+
node-version: '12.x'
51+
registry-url: 'https://registry.npmjs.org'
52+
scope: '@dsps'
4853
- name: Yarn publish
49-
run: yarn publish --frozen-lockfile --non-interactive --new-version ${{ steps.get-version.outputs.version }} --no-git-tag-version
54+
run: |
55+
yarn install
56+
yarn publish --frozen-lockfile --non-interactive --new-version ${{ steps.get-version.outputs.version }} --no-git-tag-version
5057
working-directory: client/js
58+
env:
59+
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
5160

5261
github-release:
5362
name: Create GitHub release

0 commit comments

Comments
 (0)