Skip to content

Commit

Permalink
ci: fallback to corepack
Browse files Browse the repository at this point in the history
  • Loading branch information
barelyhuman committed Mar 10, 2025
1 parent 008d6da commit 718d0ff
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 17 deletions.
15 changes: 7 additions & 8 deletions .github/workflows/release-beta.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,18 +12,17 @@ jobs:
- name: Checkout
uses: actions/checkout@v4

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

- uses: actions/setup-node@v4
with:
node-version: '18.x'
node-version: '20'
corepack-enable: true
registry-url: 'https://registry.npmjs.org'
cache: 'pnpm'

- name: Install dependencies
run: pnpm i
- name: Deps
run: |
npm i -g corepack@latest
corepack enable
pnpm i --frozen-lockfile
- name: Test
run: pnpm test
Expand Down
17 changes: 8 additions & 9 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,18 +12,17 @@ jobs:
- name: Checkout
uses: actions/checkout@v4

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

- uses: actions/setup-node@v4
with:
node-version: '18.x'
node-version: '20'
corepack-enable: true
registry-url: 'https://registry.npmjs.org'
cache: 'pnpm'

- name: Install dependencies
run: pnpm i
- name: Deps
run: |
npm i -g corepack@latest
corepack enable
pnpm i --frozen-lockfile
- name: Test
run: pnpm test
Expand Down

0 comments on commit 718d0ff

Please sign in to comment.