File tree 8 files changed +1805
-7
lines changed
8 files changed +1805
-7
lines changed Original file line number Diff line number Diff line change 7
7
- name : Setup Node.js
8
8
uses : actions/setup-node@v3
9
9
with :
10
- node-version : 18
10
+ node-version-file : .nvmrc
11
11
12
12
- name : Cache deps
13
13
id : yarn-cache
14
14
uses : actions/cache@v3
15
15
with :
16
- path : ./node_modules
17
- key : ${{ runner.os }}-yarn-${{ hashFiles('./yarn.lock') }}
16
+ path : |
17
+ ./node_modules
18
+ .yarn/install-state.gz
19
+ key : ${{ runner.os }}-yarn-${{ hashFiles('yarn.lock') }}-${{ hashFiles('**/package.json', '!node_modules/**') }}
20
+ restore-keys : |
21
+ ${{ runner.os }}-yarn-${{ hashFiles('yarn.lock') }}
22
+ ${{ runner.os }}-yarn-
18
23
19
24
- name : Install deps
20
25
if : steps.yarn-cache.outputs.cache-hit != 'true'
Original file line number Diff line number Diff line change 7
7
- name : Setup Node.js
8
8
uses : actions/setup-node@v3
9
9
with :
10
- node-version : 18
10
+ node-version-file : .nvmrc
11
11
12
12
- name : Cache website deps
13
13
id : yarn-cache-website
14
14
uses : actions/cache@v3
15
15
with :
16
- path : ./website/node_modules
17
- key : ${{ runner.os }}-yarn-${{ hashFiles('./yarn.lock') }}-website
16
+ path : |
17
+ ./website/node_modules
18
+ ./website/yarn/install-state.gz
19
+ key : website-${{ runner.os }}-yarn-${{ hashFiles('./website/yarn.lock') }}
18
20
19
21
- name : Install website deps
20
22
if : steps.yarn-cache-website.outputs.cache-hit != 'true'
Original file line number Diff line number Diff line change 19
19
# Ignore lock files in examples for now
20
20
examples /** /yarn.lock
21
21
.docusaurus
22
-
Original file line number Diff line number Diff line change
1
+ lts/*
Load Diff Large diffs are not rendered by default.
Original file line number Diff line number Diff line change
1
+ enableGlobalCache : true
2
+
1
3
nodeLinker : node-modules
4
+
5
+ yarnPath : .yarn/releases/yarn-4.0.1.cjs
Load Diff Large diffs are not rendered by default.
Original file line number Diff line number Diff line change
1
+ yarnPath : .yarn/releases/yarn-4.0.1.cjs
You can’t perform that action at this time.
0 commit comments