Skip to content

Commit e8a4d83

Browse files
committed
try to fix CI 2
1 parent d1ee201 commit e8a4d83

File tree

1 file changed

+18
-6
lines changed

1 file changed

+18
-6
lines changed

.github/workflows/test.yaml

Lines changed: 18 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -13,16 +13,20 @@ jobs:
1313
- name: Checkout Source code
1414
uses: actions/checkout@v4
1515

16-
- name: Use Node.js 20
16+
- name: Use Node.js 22
1717
uses: actions/setup-node@v4
1818
with:
19-
node-version: 20
19+
node-version: 22
2020
cache: 'npm'
2121
cache-dependency-path: 'package-lock.json'
2222
always-auth: 'true'
2323
registry-url: 'https://npm.pkg.github.com/'
2424
scope: '@apify-packages'
2525

26+
- name: Enable corepack
27+
run: |
28+
corepack enable
29+
2630
- name: Install Dependencies
2731
run: npm ci --force
2832
env:
@@ -48,15 +52,19 @@ jobs:
4852
**/*.mdx
4953
separator: ","
5054

51-
- name: Use Node.js 20
55+
- name: Use Node.js 22
5256
uses: actions/setup-node@v4
5357
with:
54-
node-version: 20
58+
node-version: 22
5559
cache: 'npm'
5660
cache-dependency-path: 'package-lock.json'
5761
registry-url: 'https://npm.pkg.github.com/'
5862
scope: '@apify-packages'
5963

64+
- name: Enable corepack
65+
run: |
66+
corepack enable
67+
6068
- name: Install Dependencies
6169
run: npm ci --force
6270
env:
@@ -79,15 +87,19 @@ jobs:
7987
- name: Checkout Source code
8088
uses: actions/checkout@v4
8189

82-
- name: Use Node.js 20
90+
- name: Use Node.js 22
8391
uses: actions/setup-node@v4
8492
with:
85-
node-version: 20
93+
node-version: 22
8694
cache: 'npm'
8795
cache-dependency-path: 'package-lock.json'
8896
registry-url: 'https://npm.pkg.github.com/'
8997
scope: '@apify-packages'
9098

99+
- name: Enable corepack
100+
run: |
101+
corepack enable
102+
91103
- name: Install Dependencies
92104
run: npm ci --force
93105
env:

0 commit comments

Comments
 (0)