We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bf71a3d commit 8ffd030Copy full SHA for 8ffd030
1 file changed
.github/workflows/release-stable.yml
@@ -0,0 +1,36 @@
1
+name: Release Stable
2
+
3
+on:
4
+ release:
5
+ types: [published]
6
7
+jobs:
8
+ release-stable:
9
+ runs-on: ubuntu-latest
10
11
+ permissions:
12
+ contents: write
13
+ packages: write
14
15
+ steps:
16
+ - uses: actions/checkout@v4
17
+ with:
18
+ fetch-depth: 0 # needed for tags
19
20
+ - uses: actions/setup-node@v4
21
22
+ node-version: 20
23
+ registry-url: https://registry.npmjs.org/
24
25
+ - run: npm ci
26
27
+ - name: Configure git user
28
+ run: |
29
+ git config user.name "github-actions[bot]"
30
+ git config user.email "github-actions[bot]@users.noreply.github.com"
31
32
+ - name: Run release-it stable
33
+ env:
34
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
35
+ NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
36
+ run: npx release-it --ci
0 commit comments