We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9fb6b2d commit edefceaCopy full SHA for edefcea
2 files changed
.github/actions/setup/action.yml
@@ -8,6 +8,7 @@ runs:
8
uses: actions/setup-node@v4
9
with:
10
node-version-file: .node-version
11
+ registry-url: "https://registry.npmjs.org"
12
13
- run: corepack enable
14
shell: bash
.github/workflows/onRelease.yml
@@ -4,6 +4,10 @@ on:
4
release:
5
types: [published]
6
7
+permissions:
+ id-token: write
+ contents: read
+
jobs:
publish:
runs-on: ubuntu-latest
@@ -24,7 +28,5 @@ jobs:
24
28
echo "NPM_TAG=latest" >> $GITHUB_OUTPUT
25
29
fi
26
30
27
- - uses: JS-DevTools/npm-publish@19c28f1ef146469e409470805ea4279d47c3d35c
- with:
- token: "${{ secrets.NPM_TOKEN }}"
- tag: ${{ steps.set-npm-tag.outputs.NPM_TAG }}
31
+ - name: Publish
32
+ run: npm publish --tag ${{ steps.set-npm-tag.outputs.NPM_TAG }}
0 commit comments