We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5c9d6cf commit ec02a58Copy full SHA for ec02a58
1 file changed
.github/workflows/publish.yml
@@ -5,6 +5,10 @@ on:
5
tags:
6
- "*"
7
8
+permissions:
9
+ id-token: write # Required for OIDC
10
+ contents: write
11
+
12
jobs:
13
publish:
14
runs-on: ubuntu-latest
@@ -13,7 +17,8 @@ jobs:
17
- uses: actions/setup-node@v2
18
with:
15
19
node-version: "22.x"
20
+ registry-url: "https://registry.npmjs.org"
16
21
- name: Install dependencies
22
run: npm ci
-
23
+ - run: npm version $(echo "${GITHUB_REF}" | sed 's/refs\/tags\///') --git-tag-version false
24
- run: npm publish
0 commit comments