Skip to content

Commit

Permalink
use corepack
Browse files Browse the repository at this point in the history
  • Loading branch information
TrueCarry committed Jul 15, 2024
1 parent d560ea0 commit 83b8333
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,9 +74,7 @@ jobs:
with:
# Those targets are only used on macos runners so it's in an `if` to slightly speed up windows and linux builds.
targets: ${{ matrix.platform == 'macos-latest' && 'aarch64-apple-darwin,x86_64-apple-darwin' || '' }}
- uses: pnpm/action-setup@v4
with:
version: 9
- run: corepack enable
- name: install dependencies (ubuntu only)
if: matrix.platform == 'ubuntu-20.04'
run: |
Expand Down
4 changes: 1 addition & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,7 @@ jobs:
node-version: 20
- name: install Rust stable
uses: dtolnay/rust-toolchain@stable
- uses: pnpm/action-setup@v4
with:
version: 9
- run: corepack enable
- name: install dependencies (ubuntu only)
if: matrix.platform == 'ubuntu-20.04'
run: |
Expand Down

0 comments on commit 83b8333

Please sign in to comment.