Skip to content

Commit

Permalink
ci: update release workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
jcwillox committed Dec 11, 2023
1 parent 298a5b6 commit 2e0f803
Showing 1 changed file with 9 additions and 8 deletions.
17 changes: 9 additions & 8 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,25 +25,26 @@ jobs:
publish:
name: "Publish"
runs-on: ubuntu-latest
permissions:
contents: write
issues: write
pull-requests: write
id-token: write
steps:
- name: "Checkout the repository"
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 0

- name: "Setup pnpm"
uses: pnpm/action-setup@v2

- name: "Setup node"
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version-file: package.json
cache: "pnpm"

- name: "Install dependencies"
run: pnpm install

- name: "Run Build"
run: pnpm run build

- name: "Release Package 📦"
run: pnpm dlx @jcwillox/semantic-release-config
env:
Expand Down

0 comments on commit 2e0f803

Please sign in to comment.