Skip to content

Commit

Permalink
ci: add pnpm
Browse files Browse the repository at this point in the history
  • Loading branch information
JoJk0 committed Apr 12, 2024
1 parent dbc0c9b commit b5298c3
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@ jobs:
if: "!contains(github.event.head_commit.message, 'ci skip') && !contains(github.event.head_commit.message, 'skip ci')"
steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v3
with:
version: 8

- name: Prepare repository
run: git fetch --unshallow --tags
Expand All @@ -17,13 +20,14 @@ jobs:
uses: actions/setup-node@v4
with:
node-version: 20.x
cache: 'pnpm'

- name: Install dependencies
run: npm install --ignore-scripts
run: pnpm install --ignore-scripts

- name: Create Release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
run: |
npm run release
pnpm run release

0 comments on commit b5298c3

Please sign in to comment.