We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f6baf60 commit 98c1affCopy full SHA for 98c1aff
.github/workflows/release.yml
@@ -0,0 +1,36 @@
1
+name: release
2
+
3
+permissions:
4
+ contents: write
5
6
+on:
7
+ push:
8
+ tags:
9
+ - 'v*'
10
11
+jobs:
12
+ release:
13
+ runs-on: ubuntu-latest
14
+ steps:
15
+ - uses: actions/checkout@v4
16
+ with:
17
+ fetch-depth: 0
18
19
+ - name: Install pnpm
20
+ uses: pnpm/action-setup@v3
21
22
+ - name: Install Node.js
23
+ uses: actions/setup-node@v4
24
25
+ node-version: 20
26
+ cache: "pnpm"
27
+ registry-url: 'https://registry.npmjs.org'
28
29
+ - run: npx changelogithub
30
+ env:
31
+ GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
32
33
+ - run: pnpm publish
34
35
+ NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
36
0 commit comments