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 68398e6
Showing 1 changed file with 7 additions and 5 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

0 comments on commit 68398e6

Please sign in to comment.