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 f68d52a commit e92e331Copy full SHA for e92e331
.github/workflows/create_release.yml
@@ -0,0 +1,34 @@
1
+name: Create Release
2
+
3
+on:
4
+ push:
5
+ tags:
6
+ - 'v*.*.*' # Adjust this to your tag format
7
8
+jobs:
9
+ release:
10
+ runs-on: ubuntu-latest
11
+ steps:
12
+ - name: Checkout code
13
+ uses: actions/checkout@v3
14
15
+ - name: Set up Node.js
16
+ uses: actions/setup-node@v3
17
+ with:
18
+ node-version: '20'
19
20
+ - name: Install pnpm
21
+ run: npm install -g pnpm
22
23
+ - name: Install dependencies
24
+ run: pnpm install
25
26
+ - name: Build project
27
+ run: pnpm run build
28
29
+ - name: Create GitHub release
30
+ uses: softprops/action-gh-release@v1
31
32
+ files: 'dist/**'
33
+ env:
34
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
.github/workflows/release.yml renamed to .github/workflows/create_tag.yml
0 commit comments