Skip to content

Commit 6dc22c3

Browse files
committed
add corepack enable to install pnpm & pnpm setup in workflows
1 parent 9a11493 commit 6dc22c3

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

.github/workflows/pytest.yml

+5
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,11 @@ jobs:
5454
cache: pnpm
5555
cache-dependency-path: examples/${{ matrix.c2a_user }}/pnpm-lock.yaml
5656

57+
- name: setup pnpm
58+
run: |
59+
corepack enable
60+
pnpm setup
61+
5762
- name: Cache C2A devtools
5863
id: cache-c2a-devtools
5964
uses: actions/cache@v4.0.2

.github/workflows/validate-renovate.yml

+5
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,11 @@ jobs:
1414
- uses: actions/checkout@v4.1.7
1515
- uses: actions/setup-node@v4.0.2
1616

17+
- name: setup pnpm
18+
run: |
19+
corepack enable
20+
pnpm setup
21+
1722
- name: install
1823
run: |
1924
pnpm install -g renovate

0 commit comments

Comments
 (0)