We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b5a24d1 commit a766af4Copy full SHA for a766af4
.github/workflows/release.yml
@@ -21,9 +21,9 @@ jobs:
21
# Store the name of the release
22
# See https://stackoverflow.com/questions/58177786/get-the-current-pushed-tag-in-github-actions
23
- 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
26
- run: npm i
27
- run: npm run build
28
- run: npm version $RELEASE_VERSION --no-git-tag-version
29
- run: npm publish --access public --tag=latest
- env:
- NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
0 commit comments