Skip to content

Commit

Permalink
try fixing publish workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
atinylittleshell committed Aug 19, 2023
1 parent c99d777 commit 1296757
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 7 deletions.
5 changes: 5 additions & 0 deletions .changeset/tame-keys-share.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'function-gpt': patch
---

try fixing publish workflow
8 changes: 1 addition & 7 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,13 +38,6 @@ jobs:
uses: codecov/codecov-action@v3
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
- name: setup .npmrc
run: |
cat << EOF > "$HOME/.npmrc"
//registry.npmjs.org/:_authToken=$NPM_TOKEN
EOF
env:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}

- name: publish to npm
id: changesets
Expand All @@ -54,3 +47,4 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

0 comments on commit 1296757

Please sign in to comment.