Skip to content

Commit d66c29d

Browse files
committed
fix: docs-site needs to store yarn installation
1 parent 67aa6ed commit d66c29d

File tree

2 files changed

+13
-2
lines changed

2 files changed

+13
-2
lines changed

.github/workflows/test.yml

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,13 +17,24 @@ jobs:
1717

1818
steps:
1919
- uses: actions/checkout@v4
20-
20+
2121
- name: Setup kernel for react, increase watchers
2222
run: echo fs.inotify.max_user_watches=524288 | sudo tee -a /etc/sysctl.conf && sudo sysctl -p
2323

24+
- name: Set Node.js
25+
uses: actions/setup-node@v4
26+
with:
27+
node-version: 20.x
28+
29+
- name: Corepack enable
30+
run: corepack enable
31+
32+
- name: Yarn setup
33+
run: corepack prepare --activate
34+
2435
- name: Get yarn cache directory path
2536
id: yarn-cache-dir-path
26-
run: echo "::set-output name=dir::$(yarn cache dir)"
37+
run: echo "::set-output name=dir::$(yarn config get cacheFolder)"
2738

2839
- uses: actions/cache@v4
2940
id: yarn-cache # use this to check for `cache-hit` (`steps.yarn-cache.outputs.cache-hit != 'true'`)

docs-site/.yarn/install-state.gz

34.5 KB
Binary file not shown.

0 commit comments

Comments
 (0)