Skip to content

Commit 7a8a04b

Browse files
committed
job order?
1 parent dfd980d commit 7a8a04b

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

.github/workflows/ci.yml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -15,16 +15,16 @@ jobs:
1515
node-version: [18.x, 20.x, 22.x]
1616

1717
steps:
18-
- uses: actions/checkout@v4
19-
with:
20-
fetch-depth: 0
21-
ref: ${{ github.head_ref }}
22-
2318
- name: Use Node.js ${{ matrix.node-version }}
2419
uses: actions/setup-node@v4
2520
with:
2621
node-version: ${{ matrix.node-version }}
2722

23+
- uses: actions/checkout@v4
24+
with:
25+
fetch-depth: 0
26+
ref: ${{ github.head_ref }}
27+
2828
- name: Install pnpm
2929
uses: pnpm/action-setup@v2
3030
with:
@@ -66,16 +66,16 @@ jobs:
6666
node-version: [18.x, 20.x, 22.x]
6767

6868
steps:
69-
- uses: actions/checkout@v4
70-
with:
71-
fetch-depth: 0
72-
ref: ${{ github.head_ref }}
73-
7469
- name: Use Node.js ${{ matrix.node-version }}
7570
uses: actions/setup-node@v4
7671
with:
7772
node-version: ${{ matrix.node-version }}
7873

74+
- uses: actions/checkout@v4
75+
with:
76+
fetch-depth: 0
77+
ref: ${{ github.head_ref }}
78+
7979
- name: Install pnpm
8080
uses: pnpm/action-setup@v2
8181
with:

0 commit comments

Comments
 (0)