Skip to content

Commit ed30f9a

Browse files
Update npm-publish.yml
1 parent 9caa0ea commit ed30f9a

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

.github/workflows/npm-publish.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,9 @@ jobs:
1111
test:
1212
runs-on: ubuntu-latest
1313
steps:
14-
- uses: actions/checkout@v2
14+
- uses: actions/checkout@v2
15+
with:
16+
ref: ${{ github.event.release.target_commitish }}
1517
- uses: actions/setup-node@v1
1618
with:
1719
node-version: 12
@@ -37,6 +39,6 @@ jobs:
3739
env:
3840
github-token: ${{ secrets.GITHUB_TOKEN }}
3941
- run: yarn build
40-
- run: yarn publish --tag ${{ github.event.release.target_commitish }}
42+
- run: yarn publish
4143
env:
4244
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}

0 commit comments

Comments
 (0)