forked from philorg/treetrail-frontend
CI: add token auth to NPM registry
This commit is contained in:
parent
b726fb1daa
commit
d72ea0da6f
1 changed files with 5 additions and 0 deletions
|
@ -61,6 +61,11 @@ jobs:
|
|||
- name: Build package (transpile ts => js)
|
||||
run: ng build
|
||||
|
||||
- name: Set registry token for pnpm"
|
||||
env:
|
||||
LOCAL_NPM_TOKEN: ${{ secrets.LOCAL_NPM_TOKEN }}
|
||||
run: pnpm set "//code.philo.ydns.eu/api/packages/philorg/npm/:_authToken=${LOCAL_NPM_TOKEN}"
|
||||
|
||||
- name: Publish
|
||||
if: fromJSON(steps.builder.outputs.run)
|
||||
run: pnpm publish --no-git-checks
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue