Skip to content

Commit ec834d6

Browse files
authored
fix: npm publish fails (#504)
1 parent deec790 commit ec834d6

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/on-merge-main.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ jobs:
3535
run: |
3636
npm run clean
3737
npm run build
38+
npm login
3839
- name: "Create Pull Request or Publish to npm"
3940
uses: changesets/action@v1
4041
with:
@@ -43,4 +44,4 @@ jobs:
4344
commit: "chore: version packages"
4445
env:
4546
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
46-
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
47+
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}

0 commit comments

Comments
 (0)