feat: forgejo action #1
1 changed files with 6 additions and 3 deletions
|
@ -62,10 +62,13 @@ jobs:
|
|||
path: lhmask
|
||||
name: lhmask
|
||||
|
||||
- run: cd lhmask && npm publish --provenance --access public
|
||||
- name: Publish to NPM (staging)
|
||||
run: |
|
||||
cd lhmask
|
||||
echo "//registry.npmjs.org/:_authToken=${NPM_TOKEN}" > ~/.npmrc
|
||||
npm publish
|
||||
env:
|
||||
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
|
||||
|
||||
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
|
||||
publish-production:
|
||||
runs-on: ubuntu-latest
|
||||
needs: build-and-test
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue