Skip to content
This repository has been archived by the owner on Feb 26, 2024. It is now read-only.

Commit

Permalink
update deployment workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
hckhanh committed Nov 13, 2019
1 parent 8e2ea75 commit 63e4756
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/npmpublish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
- uses: actions/setup-node@master
with:
node-version: 12
registry-url: 'https://registry.npmjs.org'
registry-url: https://registry.npmjs.org/
- name: Build commonjs, es6, esnext and amd
run: |
npm run build:cjs
Expand All @@ -43,15 +43,15 @@ jobs:
- uses: actions/setup-node@master
with:
node-version: 12
registry-url: 'https://npm.pkg.github.com'
scope: '@hckhanh'
- name: Build commonjs, es6, esnext and amd
run: |
npm run build:cjs
npm run build:es6
npm run build:esnext
npm run build:amd
- name: Update .npmrc for gpr auth
run: |
npm set //npm.pkg.github.com/:_authToken=${{secrets.GITHUB_TOKEN}}
npm set registry=https://npm.pkg.github.com/@hckhanh
- name: Publish to gpr
run: npm publish
env:
NODE_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}}

0 comments on commit 63e4756

Please sign in to comment.