Skip to content

Commit 6b82b18

Browse files
authored
Merge pull request #117 from element-hq/t3chguy/npm-oidc
2 parents 12d5e1a + c1bbd86 commit 6b82b18

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.github/workflows/publish-release-npm-package.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,10 @@ jobs:
2626
registry-url: "https://registry.npmjs.org"
2727
node-version-file: package.json
2828

29+
# Ensure npm 11.5.1 or later is installed
30+
- name: Update npm
31+
run: npm install -g npm@latest
32+
2933
- name: 🔨 Install dependencies
3034
run: "yarn install --frozen-lockfile"
3135

@@ -43,5 +47,3 @@ jobs:
4347
run: npm publish --provenance --access public --tag latest
4448
if: steps.parse.outputs.pkg
4549
working-directory: ${{ steps.parse.outputs.pkg }}
46-
env:
47-
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

0 commit comments

Comments
 (0)