Skip to content

Commit ab32830

Browse files
committed
fix: CI
1 parent 9d75693 commit ab32830

File tree

4 files changed

+41
-41
lines changed

4 files changed

+41
-41
lines changed

.github/workflows/ci.yml

Lines changed: 25 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -19,17 +19,17 @@ jobs:
1919
- name: ⬇️ Checkout repo
2020
uses: actions/checkout@v4
2121

22+
- name: 📦 Install pnpm
23+
uses: pnpm/action-setup@v4
24+
with:
25+
version: 9
26+
2227
- name: ⎔ Setup Node.js
2328
uses: actions/setup-node@v4
2429
with:
2530
node-version: 20
2631
cache: 'pnpm'
2732

28-
- name: 📦 Install pnpm
29-
uses: pnpm/action-setup@v4
30-
with:
31-
version: 9
32-
3333
- name: 📦 Install dependencies
3434
run: pnpm install --frozen-lockfile
3535

@@ -43,17 +43,17 @@ jobs:
4343
- name: ⬇️ Checkout repo
4444
uses: actions/checkout@v4
4545

46+
- name: 📦 Install pnpm
47+
uses: pnpm/action-setup@v4
48+
with:
49+
version: 9
50+
4651
- name: ⎔ Setup Node.js
4752
uses: actions/setup-node@v4
4853
with:
4954
node-version: 20
5055
cache: 'pnpm'
5156

52-
- name: 📦 Install pnpm
53-
uses: pnpm/action-setup@v4
54-
with:
55-
version: 9
56-
5757
- name: 📦 Install dependencies
5858
run: pnpm install --frozen-lockfile
5959

@@ -67,17 +67,17 @@ jobs:
6767
- name: ⬇️ Checkout repo
6868
uses: actions/checkout@v4
6969

70+
- name: 📦 Install pnpm
71+
uses: pnpm/action-setup@v4
72+
with:
73+
version: 9
74+
7075
- name: ⎔ Setup Node.js
7176
uses: actions/setup-node@v4
7277
with:
7378
node-version: 20
7479
cache: 'pnpm'
7580

76-
- name: 📦 Install pnpm
77-
uses: pnpm/action-setup@v4
78-
with:
79-
version: 9
80-
8181
- name: 📦 Install dependencies
8282
run: pnpm install --frozen-lockfile
8383

@@ -91,17 +91,17 @@ jobs:
9191
- name: ⬇️ Checkout repo
9292
uses: actions/checkout@v4
9393

94+
- name: 📦 Install pnpm
95+
uses: pnpm/action-setup@v4
96+
with:
97+
version: 9
98+
9499
- name: ⎔ Setup Node.js
95100
uses: actions/setup-node@v4
96101
with:
97102
node-version: 20
98103
cache: 'pnpm'
99104

100-
- name: 📦 Install pnpm
101-
uses: pnpm/action-setup@v4
102-
with:
103-
version: 9
104-
105105
- name: 📦 Install dependencies
106106
run: pnpm install --frozen-lockfile
107107

@@ -124,17 +124,17 @@ jobs:
124124
- name: ⬇️ Checkout repo
125125
uses: actions/checkout@v4
126126

127+
- name: 📦 Install pnpm
128+
uses: pnpm/action-setup@v4
129+
with:
130+
version: 9
131+
127132
- name: ⎔ Setup Node.js ${{ matrix.node-version }}
128133
uses: actions/setup-node@v4
129134
with:
130135
node-version: ${{ matrix.node-version }}
131136
cache: 'pnpm'
132137

133-
- name: 📦 Install pnpm
134-
uses: pnpm/action-setup@v4
135-
with:
136-
version: 9
137-
138138
- name: 📦 Install dependencies
139139
run: pnpm install --frozen-lockfile
140140

.github/workflows/docs.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -40,19 +40,19 @@ jobs:
4040
echo "should_build=$?" >> $GITHUB_OUTPUT
4141
continue-on-error: true
4242

43+
- name: 📦 Install pnpm
44+
if: steps.changes.outputs.should_build == '1'
45+
uses: pnpm/action-setup@v4
46+
with:
47+
version: 9
48+
4349
- name: ⎔ Setup Node.js
4450
if: steps.changes.outputs.should_build == '1'
4551
uses: actions/setup-node@v4
4652
with:
4753
node-version: 20
4854
cache: 'pnpm'
4955

50-
- name: 📦 Install pnpm
51-
if: steps.changes.outputs.should_build == '1'
52-
uses: pnpm/action-setup@v4
53-
with:
54-
version: 9
55-
5656
- name: 🔧 Setup Pages
5757
if: steps.changes.outputs.should_build == '1'
5858
uses: actions/configure-pages@v4

.github/workflows/release.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,18 +18,18 @@ jobs:
1818
# This makes Actions fetch all Git history so that Changesets can generate changelogs with the correct commits
1919
fetch-depth: 0
2020

21+
- name: 📦 Install pnpm
22+
uses: pnpm/action-setup@v4
23+
with:
24+
version: 9
25+
2126
- name: ⎔ Setup Node.js
2227
uses: actions/setup-node@v4
2328
with:
2429
node-version: 20
2530
cache: 'pnpm'
2631
registry-url: 'https://registry.npmjs.org/'
2732

28-
- name: 📦 Install pnpm
29-
uses: pnpm/action-setup@v4
30-
with:
31-
version: 9
32-
3333
- name: 📦 Install dependencies
3434
run: pnpm install --frozen-lockfile
3535

.github/workflows/update-dependencies.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,17 +16,17 @@ jobs:
1616
with:
1717
token: ${{ secrets.GITHUB_TOKEN }}
1818

19+
- name: 📦 Install pnpm
20+
uses: pnpm/action-setup@v4
21+
with:
22+
version: 9
23+
1924
- name: ⎔ Setup Node.js
2025
uses: actions/setup-node@v4
2126
with:
2227
node-version: 20
2328
cache: 'pnpm'
2429

25-
- name: 📦 Install pnpm
26-
uses: pnpm/action-setup@v4
27-
with:
28-
version: 9
29-
3030
- name: 📦 Install dependencies
3131
run: pnpm install
3232

0 commit comments

Comments
 (0)