Skip to content

Commit

Permalink
ci(publish): action
Browse files Browse the repository at this point in the history
  • Loading branch information
eunchurn committed Nov 21, 2023
1 parent e7a2c51 commit fd9375c
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,13 @@ jobs:
run: ${{ steps.detect-package-manager.outputs.manager }} typecheck
- name: TypeScript build
run: ${{ steps.detect-package-manager.outputs.runner }} build
- name: Creating .npmrc
run: |
cat << EOF > "$HOME/.npmrc"
//registry.npmjs.org/:_authToken=$NPM_TOKEN
EOF
env:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
- name: Create Release Pull Request or Publish to npm
id: changesets
uses: changesets/action@v1
Expand Down

0 comments on commit fd9375c

Please sign in to comment.