Skip to content

Commit e34f98d

Browse files
workflow: respect project pnpm version (#409)
1 parent 8b3e0ac commit e34f98d

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

.github/workflows/autofix.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,14 +15,14 @@ jobs:
1515
steps:
1616
- uses: actions/checkout@v4
1717

18-
- name: Install pnpm
19-
uses: pnpm/action-setup@v2
20-
2118
- name: Set node
2219
uses: actions/setup-node@v4
2320
with:
2421
node-version: lts/*
2522

23+
- name: Install pnpm
24+
run: corepack enable pnpm
25+
2626
- name: Setup
2727
run: npm i -g @antfu/ni
2828

.github/workflows/ci.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,14 +15,14 @@ jobs:
1515
steps:
1616
- uses: actions/checkout@v4
1717

18-
- name: Install pnpm
19-
uses: pnpm/action-setup@v2
20-
2118
- name: Set node
2219
uses: actions/setup-node@v4
2320
with:
2421
node-version: lts/*
2522

23+
- name: Install pnpm
24+
uses: corepack enable pnpm
25+
2626
- name: Setup ni
2727
run: npm i -g @antfu/ni
2828

0 commit comments

Comments
 (0)