File tree Expand file tree Collapse file tree 1 file changed +25
-3
lines changed Expand file tree Collapse file tree 1 file changed +25
-3
lines changed Original file line number Diff line number Diff line change @@ -11,14 +11,36 @@ jobs:
11
11
12
12
steps :
13
13
- uses : actions/checkout@v4
14
- - uses : actions/setup-node@v4
14
+
15
+ # Setup Node.js
16
+ - name : Set up Node.js
17
+ uses : actions/setup-node@v4
15
18
with :
16
19
node-version : ' 22.14'
17
- - run : corepack enable
20
+ # Note: We're not using the built-in cache here because we need to use corepack
21
+
22
+ - name : Setup Corepack
23
+ run : corepack enable
24
+
25
+ - id : yarn-cache-dir-path
26
+ name : Get yarn cache directory path
27
+ run : echo "dir=$(yarn config get cacheFolder)" >> $GITHUB_OUTPUT
28
+
29
+ - name : Cache Yarn dependencies
30
+ uses : actions/cache@v3
31
+ id : yarn-cache
32
+ with :
33
+ path : ${{ steps.yarn-cache-dir-path.outputs.dir }}
34
+ key : ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
35
+ restore-keys : |
36
+ ${{ runner.os }}-yarn-
37
+
18
38
- name : Install dependencies
19
- run : yarn install --frozen-lockfile
39
+ run : yarn install
40
+
20
41
- name : Run actor-core tests
21
42
run : yarn test
43
+
22
44
# - name: Install Rust
23
45
# uses: dtolnay/rust-toolchain@stable
24
46
# - name: Run Rust client tests
You can’t perform that action at this time.
0 commit comments