Skip to content

Commit

Permalink
chore: use corepack instead of pnpm setup action in ci (#291)
Browse files Browse the repository at this point in the history
  • Loading branch information
trm217 authored Nov 4, 2024
1 parent 3e22a10 commit b3baf27
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 11 deletions.
9 changes: 3 additions & 6 deletions .github/workflows/e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,9 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

- uses: pnpm/action-setup@v3
with:
version: 9

- uses: actions/setup-node@v3
- name: Enable corepack
run: corepack enable
- uses: actions/setup-node@v4
with:
node-version: 20.x
cache: 'pnpm'
Expand Down
7 changes: 2 additions & 5 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,8 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

- uses: pnpm/action-setup@v3
with:
version: 9

- name: Enable corepack
run: corepack enable
- uses: actions/setup-node@v4
with:
node-version: 20.x
Expand Down

0 comments on commit b3baf27

Please sign in to comment.