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