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