Skip to content

Commit

Permalink
fix: 🐛 release action error
Browse files Browse the repository at this point in the history
  • Loading branch information
haydenull committed May 21, 2024
1 parent fc799b8 commit 52d170b
Show file tree
Hide file tree
Showing 3 changed files with 634 additions and 618 deletions.
12 changes: 7 additions & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,6 @@ on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
release:
name: Release
Expand All @@ -15,20 +12,25 @@ jobs:
uses: actions/checkout@v3
with:
fetch-depth: 0

- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: 18

- name: Install pnpm
uses: pnpm/action-setup@v2
with:
version: 6
version: 8
run_install: false

- name: Install dependencies
run: pnpm install

- name: Build
run: pnpm build

- name: Release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: npx semantic-release
run: npx semantic-release
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
"@vitejs/plugin-react": "^4.0.3",
"autoprefixer": "^10.4.2",
"postcss": "^8.4.27",
"semantic-release": "^21.1.2",
"tailwindcss": "^3.3.3",
"typescript": "^5.1.6",
"vite": "^4.4.7",
Expand Down
Loading

0 comments on commit 52d170b

Please sign in to comment.