Skip to content

Commit 286b866

Browse files
Prefer npm publish to avoid .yarnrc.yml
1 parent 3646deb commit 286b866

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,12 +37,12 @@ jobs:
3737

3838
- name: Publish npm package
3939
if: ${{ !github.event.release.prerelease }}
40-
run: yarn npm publish --tag latest
40+
run: npm publish --tag latest
4141
env:
4242
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
4343

4444
- name: Publish npm package (pre-release)
4545
if: ${{ github.event.release.prerelease }}
46-
run: yarn npm publish --tag beta
46+
run: npm publish --tag beta
4747
env:
4848
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

0 commit comments

Comments
 (0)