Skip to content

Commit 5396eaa

Browse files
committed
fix(ci): one more attempt at fixing/enabling Trusted Publishing
1 parent 3229869 commit 5396eaa

1 file changed

Lines changed: 3 additions & 5 deletions

File tree

.github/workflows/release.yml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -31,10 +31,12 @@ jobs:
3131
# Setup .npmrc file to publish to npm
3232
- uses: actions/setup-node@v6
3333
with:
34-
node-version: 22
34+
node-version: 24
3535
registry-url: "https://registry.npmjs.org"
3636
scope: "@readalongs"
3737
package-manager-cache: false
38+
- name: Update npm to latest version for OIDC/Trusted Publishing support
39+
run: npm install -g npm@latest
3840
- run: npm install
3941
- run: npx update-browserslist-db@latest
4042
- name: Build and bundle
@@ -60,13 +62,9 @@ jobs:
6062
- name: Publish web-component to npmjs
6163
run: |
6264
cd dist/packages/web-component && npm publish --access=public
63-
env:
64-
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
6565
- name: Publish ngx-web-component to npmjs
6666
run: |
6767
cd dist/packages/ngx-web-component && npm publish --access=public
68-
env:
69-
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
7068
7169
deploy:
7270
needs: publish

0 commit comments

Comments
 (0)