Skip to content

Commit

Permalink
fix: .npmrc action에서 동적으로 생성해주도록 변경
Browse files Browse the repository at this point in the history
  • Loading branch information
juno7803 committed Oct 29, 2023
1 parent d1a1c5d commit f191e42
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,15 @@ jobs:
- name: Install Dependencies
run: yarn

- name: Creating .npmrc
run: |
cat << EOF > "$HOME/.npmrc"
auto-install-peers = true
//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
2 changes: 0 additions & 2 deletions .npmrc

This file was deleted.

0 comments on commit f191e42

Please sign in to comment.