Skip to content

Commit a766af4

Browse files
committed
Fix release process
1 parent b5a24d1 commit a766af4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,9 @@ jobs:
2121
# Store the name of the release
2222
# See https://stackoverflow.com/questions/58177786/get-the-current-pushed-tag-in-github-actions
2323
- run: echo "RELEASE_VERSION=${GITHUB_REF#refs/*/}" >> $GITHUB_ENV
24+
# Ensure npm 11.5.1 or later for trusted publishing
25+
- run: npm install -g npm@latest
2426
- run: npm i
2527
- run: npm run build
2628
- run: npm version $RELEASE_VERSION --no-git-tag-version
2729
- run: npm publish --access public --tag=latest
28-
env:
29-
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

0 commit comments

Comments
 (0)