Skip to content

Commit 85f1552

Browse files
authored
Update npm-publish.yml
1 parent 8cafe80 commit 85f1552

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

.github/workflows/npm-publish.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,9 @@ jobs:
1717
with:
1818
node-version: 12
1919
registry-url: https://registry.npmjs.org/
20+
- run: git branch -f master origin/master
2021
- run: npm add -g pnpm
2122
- run: pnpm i
22-
- run: git remote set-branches --add origin master
23-
- run: git checkout master
24-
- run: git fetch
2523
- run: pnpm publish
2624
env:
2725
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}

0 commit comments

Comments
 (0)