Skip to content

Commit ecba7c1

Browse files
committed
chore: add npmrc to publish
1 parent 4bba432 commit ecba7c1

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

.github/workflows/publish-pakcage.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,8 @@ jobs:
3434

3535
- name: Publish package
3636
run: npm publish
37+
env:
38+
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
3739

3840
- name: Slack Notification
3941
uses: rtCamp/action-slack-notify@v2

.npmrc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
@seolhun:registry=https://npm.pkg.github.com
2+
//npm.pkg.github.com/:_authToken=${GITHUB_TOKEN}

0 commit comments

Comments
 (0)