Skip to content

Commit

Permalink
fix: resolved release action issue
Browse files Browse the repository at this point in the history
  • Loading branch information
sboy99 committed Mar 18, 2023
1 parent 8424b83 commit 701f3b1
Showing 1 changed file with 10 additions and 7 deletions.
17 changes: 10 additions & 7 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,20 +1,23 @@
name: Workflow Dispatch
name: Release

on:
workflow_dispatch:

jobs:
release:
permissions:
contents: write
issue: write
pull-request: write
issues: write
pull-requests: write
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: 16
- run: yarn
- run: yarn build --if-present
- run: yarn semantic-release
node-version: 18
- run: npm install -g yarn
- run: yarn
- run: yarn build
- run: npx semantic-release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

1 comment on commit 701f3b1

@vercel
Copy link

@vercel vercel bot commented on 701f3b1 Mar 18, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.