Skip to content

Commit

Permalink
workflow: respect project pnpm version (#409)
Browse files Browse the repository at this point in the history
  • Loading branch information
alexzhang1030 authored May 29, 2024
1 parent 8b3e0ac commit e34f98d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/autofix.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,14 @@ jobs:
steps:
- uses: actions/checkout@v4

- name: Install pnpm
uses: pnpm/action-setup@v2

- name: Set node
uses: actions/setup-node@v4
with:
node-version: lts/*

- name: Install pnpm
run: corepack enable pnpm

- name: Setup
run: npm i -g @antfu/ni

Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,14 @@ jobs:
steps:
- uses: actions/checkout@v4

- name: Install pnpm
uses: pnpm/action-setup@v2

- name: Set node
uses: actions/setup-node@v4
with:
node-version: lts/*

- name: Install pnpm
uses: corepack enable pnpm

- name: Setup ni
run: npm i -g @antfu/ni

Expand Down

0 comments on commit e34f98d

Please sign in to comment.