Stop using access tokens when publishing to npmjs
We are using OIDC now instead of the old style access tokens.
This commit is contained in:
parent
b29cc6493d
commit
99865e5aba
|
|
@ -29,22 +29,16 @@ jobs:
|
||||||
name: npm
|
name: npm
|
||||||
path: lib
|
path: lib
|
||||||
- run: npm publish --access public
|
- run: npm publish --access public
|
||||||
env:
|
|
||||||
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
|
|
||||||
if: |
|
if: |
|
||||||
github.repository == 'novnc/noVNC' &&
|
github.repository == 'novnc/noVNC' &&
|
||||||
github.event_name == 'release' &&
|
github.event_name == 'release' &&
|
||||||
!github.event.release.prerelease
|
!github.event.release.prerelease
|
||||||
- run: npm publish --access public --tag beta
|
- run: npm publish --access public --tag beta
|
||||||
env:
|
|
||||||
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
|
|
||||||
if: |
|
if: |
|
||||||
github.repository == 'novnc/noVNC' &&
|
github.repository == 'novnc/noVNC' &&
|
||||||
github.event_name == 'release' &&
|
github.event_name == 'release' &&
|
||||||
github.event.release.prerelease
|
github.event.release.prerelease
|
||||||
- run: npm publish --access public --tag dev
|
- run: npm publish --access public --tag dev
|
||||||
env:
|
|
||||||
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
|
|
||||||
if: |
|
if: |
|
||||||
github.repository == 'novnc/noVNC' &&
|
github.repository == 'novnc/noVNC' &&
|
||||||
github.event_name == 'push' &&
|
github.event_name == 'push' &&
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue