Skip to content

Commit f081d79

Browse files
committed
fix: 🐛 release action error
1 parent fc799b8 commit f081d79

File tree

3 files changed

+1028
-983
lines changed

3 files changed

+1028
-983
lines changed

.github/workflows/release.yml

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,6 @@ on:
33
push:
44
branches:
55
- main
6-
pull_request:
7-
branches:
8-
- main
96
jobs:
107
release:
118
name: Release
@@ -15,20 +12,25 @@ jobs:
1512
uses: actions/checkout@v3
1613
with:
1714
fetch-depth: 0
15+
1816
- name: Setup Node.js
1917
uses: actions/setup-node@v3
2018
with:
2119
node-version: 18
20+
2221
- name: Install pnpm
2322
uses: pnpm/action-setup@v2
2423
with:
25-
version: 6
24+
version: 8
2625
run_install: false
26+
2727
- name: Install dependencies
2828
run: pnpm install
29+
2930
- name: Build
3031
run: pnpm build
32+
3133
- name: Release
3234
env:
3335
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
34-
run: npx semantic-release
36+
run: npx semantic-release

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@
2828
"@vitejs/plugin-react": "^4.0.3",
2929
"autoprefixer": "^10.4.2",
3030
"postcss": "^8.4.27",
31+
"semantic-release": "^23.1.1",
3132
"tailwindcss": "^3.3.3",
3233
"typescript": "^5.1.6",
3334
"vite": "^4.4.7",

0 commit comments

Comments
 (0)