Skip to content
This repository has been archived by the owner on Oct 20, 2021. It is now read-only.

Commit

Permalink
chore(github) : update npm publishing to github
Browse files Browse the repository at this point in the history
  • Loading branch information
Seolhun committed Mar 25, 2021
1 parent 24833f0 commit 2c5c27b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/publish-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,8 @@ jobs:
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: '14.x'
registry-url: 'https://npm.pkg.github.com'
scope: '@seolhun'
node-version: 12
registry-url: https://npm.pkg.github.com/

- name: Install
run: npm ci
Expand All @@ -39,7 +38,7 @@ jobs:
- name: Publish package
run: npm run release -y
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NODE_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}}

- name: "Build Changelog"
uses: mikepenz/release-changelog-builder-action@v1
Expand Down
2 changes: 2 additions & 0 deletions .npmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
@ejnkr:registry=https://npm.pkg.github.com/
//npm.pkg.github.com/:_authToken=${NPM_TOKEN}

0 comments on commit 2c5c27b

Please sign in to comment.