Skip to content

Commit fef8591

Browse files
committed
Reorder pnpm setup steps in GitHub workflows
1 parent d7cadc2 commit fef8591

File tree

4 files changed

+20
-20
lines changed

4 files changed

+20
-20
lines changed

.github/workflows/algolia-index.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,16 +23,16 @@ jobs:
2323
with:
2424
bun-version: '1.1.34'
2525

26-
- uses: pnpm/action-setup@v4
27-
with:
28-
version: 10
29-
3026
- uses: actions/setup-node@1d0ff469b7ec7b3cb9d8673fde0c81c44821de2a # v4
3127
id: setup-node
3228
with:
3329
node-version-file: 'package.json'
3430
cache: 'pnpm'
3531

32+
- uses: pnpm/action-setup@v4
33+
with:
34+
version: 10
35+
3636
- run: pnpm install --frozen-lockfile
3737

3838
# bun seems to be the most straightforward way to run a TypeScript script

.github/workflows/lint-404s.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,16 +25,16 @@ jobs:
2525
with:
2626
bun-version: latest
2727

28-
- uses: pnpm/action-setup@v4
29-
with:
30-
version: 10
31-
3228
- uses: actions/setup-node@1d0ff469b7ec7b3cb9d8673fde0c81c44821de2a # v4
3329
id: setup-node
3430
with:
3531
node-version-file: 'package.json'
3632
cache: 'pnpm'
3733

34+
- uses: pnpm/action-setup@v4
35+
with:
36+
version: 10
37+
3838
- run: pnpm install --frozen-lockfile
3939

4040
- run: pnpm build

.github/workflows/sync-labels.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,16 +23,16 @@ jobs:
2323
steps:
2424
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
2525

26-
- uses: pnpm/action-setup@v4
27-
with:
28-
version: 10
29-
3026
- uses: actions/setup-node@1d0ff469b7ec7b3cb9d8673fde0c81c44821de2a # v4
3127
id: setup-node
3228
with:
3329
node-version-file: 'package.json'
3430
cache: 'pnpm'
3531

32+
- uses: pnpm/action-setup@v4
33+
with:
34+
version: 10
35+
3636
- name: Install github-label-sync
3737
run: pnpm add -g [email protected]
3838

.github/workflows/test.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -21,16 +21,16 @@ jobs:
2121
app_id: ${{ vars.SENTRY_INTERNAL_APP_ID }}
2222
private_key: ${{ secrets.SENTRY_INTERNAL_APP_PRIVATE_KEY }}
2323

24-
- uses: pnpm/action-setup@v4
25-
with:
26-
version: 10
27-
2824
- uses: actions/setup-node@1d0ff469b7ec7b3cb9d8673fde0c81c44821de2a # v4
2925
id: setup-node
3026
with:
3127
node-version-file: 'package.json'
3228
cache: 'pnpm'
3329

30+
- uses: pnpm/action-setup@v4
31+
with:
32+
version: 10
33+
3434
- run: pnpm install --frozen-lockfile
3535

3636
# Additional checks
@@ -62,16 +62,16 @@ jobs:
6262
steps:
6363
- uses: actions/[email protected]
6464

65-
- uses: pnpm/action-setup@v4
66-
with:
67-
version: 10
68-
6965
- name: Set up Node
7066
uses: actions/setup-node@1d0ff469b7ec7b3cb9d8673fde0c81c44821de2a # v4
7167
with:
7268
node-version-file: 'package.json'
7369
cache: 'pnpm'
7470

71+
- uses: pnpm/action-setup@v4
72+
with:
73+
version: 10
74+
7575
- run: pnpm install --frozen-lockfile
7676
- name: Run Tests
7777
run: pnpm test

0 commit comments

Comments
 (0)