Skip to content

Commit

Permalink
ci: Use pnpm in release workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
debjitbis08 committed Nov 11, 2024
1 parent 0c4e458 commit c23f0cc
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,15 @@ jobs:
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: "lts/*"
node-version: "latest" # Use the latest version of Node.js
cache: "pnpm" # Cache for pnpm dependencies
- name: Setup pnpm
run: npm install -g pnpm
- name: Install dependencies
run: npm clean-install
run: pnpm install --frozen-lockfile
- name: Verify the integrity of provenance attestations and registry signatures for installed dependencies
run: npm audit signatures
run: pnpm audit
- name: Release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: npx semantic-release
run: pnpm exec semantic-release

0 comments on commit c23f0cc

Please sign in to comment.