Skip to content

Commit

Permalink
fix cd
Browse files Browse the repository at this point in the history
  • Loading branch information
woohm402 committed May 30, 2024
1 parent 28adf0a commit 2b43de3
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 9 deletions.
10 changes: 4 additions & 6 deletions .github/workflows/publish-base.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,14 +19,12 @@ jobs:

# GitHub Packages 배포
- name: Publish to GitHub Packages
run: yarn publish:base --registry=https://npm.pkg.github.com/
env:
NODE_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}}
run: |
echo "//npm.pkg.github.com/:_authToken=${{secrets.GITHUB_TOKEN}}" > ~/.npmrc
yarn publish:base --registry=https://npm.pkg.github.com/
# npm 공용 레지스트리에 배포
- name: Publish to npm
run: |
echo "//registry.npmjs.org/:_authToken=${{secrets.NPM_TOKEN}}" > .npmrc
echo "//registry.npmjs.org/:_authToken=${{secrets.NPM_TOKEN}}" > ~/.npmrc
yarn publish:base --registry=https://registry.npmjs.org/
env:
NODE_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}}
2 changes: 0 additions & 2 deletions .npmrc

This file was deleted.

2 changes: 1 addition & 1 deletion packages/base/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
},
"repository": {
"type": "git",
"url": "git+https://github.com/woohm402/eslint-config-woohm402.git",
"url": "https://github.com/woohm402/eslint-config-woohm402.git",
"directory": "packages/base"
},
"keywords": [
Expand Down

0 comments on commit 2b43de3

Please sign in to comment.