We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d112c00 commit a48dd35Copy full SHA for a48dd35
1 file changed
.github/workflows/publish.yml
@@ -1,20 +1,23 @@
1
-# GitHub Actions example
+name: Publish
2
+on:
3
+ push:
4
+ tags:
5
+ - "v*"
6
+
7
jobs:
8
release:
9
runs-on: ubuntu-latest
10
permissions:
- contents: write # For git operations
- id-token: write # < REQUIRED FOR OIDC
11
+ contents: write
12
+ id-token: write
13
14
steps:
- - uses: actions/checkout
- - uses: actions/setup-node
15
+ - uses: actions/checkout@v4
16
+ - uses: actions/setup-node@v4
17
with:
18
node-version: "lts/*"
19
registry-url: "https://registry.npmjs.org"
20
- # OIDC requires npm v11.5.1 or later
- # Node.js v20 comes with v10.8, so we need to update it:
21
- run: npm install -g npm@latest
22
- run: npm ci
23
- run: npx release-it --ci
0 commit comments