Skip to content

Commit

Permalink
chore: .npmrc create 로직 제거
Browse files Browse the repository at this point in the history
  • Loading branch information
juno7803 committed Oct 29, 2023
1 parent 300e15f commit 2c13524
Showing 1 changed file with 3 additions and 12 deletions.
15 changes: 3 additions & 12 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,24 +15,15 @@ jobs:
- name: Checkout Repo
uses: actions/checkout@v3

- name: Setup Node.js 16
- name: Setup Node.js 18
uses: actions/setup-node@v3
with:
node-version: 16
registry-url: https://registry.npmjs.org/
node-version: 18
registry-url: "https://registry.npmjs.org"

- 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

0 comments on commit 2c13524

Please sign in to comment.