Skip to content

Commit

Permalink
chore: use pnpm action not corepack (#776)
Browse files Browse the repository at this point in the history
  • Loading branch information
ascorbic authored Feb 4, 2025
1 parent 2c5fe9f commit c093930
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 11 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,7 @@ jobs:
- name: Setup Deno
uses: denoland/setup-deno@v1
- name: Install dependencies
run: |
corepack enable
pnpm install
run: pnpm install
- name: Install Netlify CLI
run: pnpm install -g netlify-cli
- name: Install Playwright Browsers
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/format.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,15 +35,15 @@ jobs:
registry-url: "https://registry.npmjs.org"
node-version: latest
- name: Install dependencies
run: |
corepack enable
pnpm install
run: pnpm install
- name: Format
run: pnpm format
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- uses: stefanzweifel/git-auto-commit-action@v5
if: github.event_name == 'push' || github.event_name == 'workflow_dispatch'
if:
github.event_name == 'push' || github.event_name ==
'workflow_dispatch'
with:
commit_message: "chore: format"
3 changes: 2 additions & 1 deletion .github/workflows/pkg-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,8 @@ jobs:
steps:
- name: Checkout code
uses: actions/checkout@v4
- run: corepack enable
- name: Setup PNPM
uses: pnpm/action-setup@v4
- uses: actions/setup-node@v4
with:
node-version: 20
Expand Down
4 changes: 1 addition & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,7 @@ jobs:
registry-url: "https://registry.npmjs.org"
node-version: latest
- name: Install dependencies
run: |
corepack enable
pnpm install
run: pnpm install
- name: Build
run: pnpm build:packages
- name: Test
Expand Down

0 comments on commit c093930

Please sign in to comment.