Commit 99865e5 for novnc.com
commit 99865e5aba68372d837b18fdd2a8edf7cea55901
Author: Alexander Zeijlon <aleze@cendio.se>
Date: Mon Nov 3 13:44:26 2025 +0100
Stop using access tokens when publishing to npmjs
We are using OIDC now instead of the old style access tokens.
diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml
index 1b9c5c9..1de3f2f 100644
--- a/.github/workflows/deploy.yml
+++ b/.github/workflows/deploy.yml
@@ -29,22 +29,16 @@ jobs:
name: npm
path: lib
- run: npm publish --access public
- env:
- NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
if: |
github.repository == 'novnc/noVNC' &&
github.event_name == 'release' &&
!github.event.release.prerelease
- run: npm publish --access public --tag beta
- env:
- NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
if: |
github.repository == 'novnc/noVNC' &&
github.event_name == 'release' &&
github.event.release.prerelease
- run: npm publish --access public --tag dev
- env:
- NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
if: |
github.repository == 'novnc/noVNC' &&
github.event_name == 'push' &&