File tree Expand file tree Collapse file tree 8 files changed +1805
-7
lines changed Expand file tree Collapse file tree 8 files changed +1805
-7
lines changed Original file line number Diff line number Diff line change 77 - name : Setup Node.js
88 uses : actions/setup-node@v3
99 with :
10- node-version : 18
10+ node-version-file : .nvmrc
1111
1212 - name : Cache deps
1313 id : yarn-cache
1414 uses : actions/cache@v3
1515 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-
1823
1924 - name : Install deps
2025 if : steps.yarn-cache.outputs.cache-hit != 'true'
Original file line number Diff line number Diff line change 77 - name : Setup Node.js
88 uses : actions/setup-node@v3
99 with :
10- node-version : 18
10+ node-version-file : .nvmrc
1111
1212 - name : Cache website deps
1313 id : yarn-cache-website
1414 uses : actions/cache@v3
1515 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') }}
1820
1921 - name : Install website deps
2022 if : steps.yarn-cache-website.outputs.cache-hit != 'true'
Original file line number Diff line number Diff line change 1919# Ignore lock files in examples for now
2020examples /** /yarn.lock
2121.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+
13nodeLinker : 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