Skip to content

Commit 0616640

Browse files
committed
use consistent node versions.
1 parent 60e6250 commit 0616640

File tree

2 files changed

+10
-10
lines changed

2 files changed

+10
-10
lines changed

.github/workflows/check-dist.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -24,17 +24,17 @@ jobs:
2424
steps:
2525
- uses: actions/checkout@v4
2626

27-
- run: |
28-
git submodule update --init actions-toolkit
29-
cd actions-toolkit/packages/artifact
30-
npm install
31-
3227
- name: Setup Node 20
3328
uses: actions/setup-node@v4
3429
with:
3530
node-version: 20.x
3631
cache: 'npm'
3732

33+
- run: |
34+
git submodule update --init actions-toolkit
35+
cd actions-toolkit/packages/artifact
36+
npm install
37+
3838
- name: Install dependencies
3939
run: npm ci
4040

.github/workflows/test.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -25,17 +25,17 @@ jobs:
2525
- name: Checkout
2626
uses: actions/checkout@v4
2727

28-
- run: |
29-
git submodule update --init actions-toolkit
30-
cd actions-toolkit/packages/artifact
31-
npm install
32-
3328
- name: Setup Node 20
3429
uses: actions/setup-node@v4
3530
with:
3631
node-version: 20.x
3732
cache: 'npm'
3833

34+
- run: |
35+
git submodule update --init actions-toolkit
36+
cd actions-toolkit/packages/artifact
37+
npm install
38+
3939
- name: Install dependencies
4040
run: npm ci
4141

0 commit comments

Comments
 (0)