File tree 2 files changed +3
-22
lines changed
2 files changed +3
-22
lines changed Original file line number Diff line number Diff line change 18
18
os : [ubuntu-latest, windows-latest]
19
19
20
20
steps :
21
+ - name : " Install yarn"
22
+ run : npm i --g yarn
23
+
21
24
- name : " Checking changed files"
22
25
id : files
23
26
uses : softprops/diffset@d5947696689a571f7a984a52505e2649eead5c22 # v1
47
50
uses : actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c # v3
48
51
with :
49
52
node-version-file : " .nvmrc"
50
- cache : " yarn"
51
- - name : " Get yarn cache directory path"
52
- id : yarn-cache-dir-path
53
- run : echo "dir=$(yarn config get cacheFolder)" >> ${{ runner.os == 'Windows' && '$env:GITHUB_ENV' || '$GITHUB_ENV' }}
54
- - name : " Defining cache"
55
- uses : actions/cache@937d24475381cd9c75ae6db12cb4e79714b926ed # v2
56
- env :
57
- cache-name : cache-node-modules
58
- with :
59
- path : ${{ env.dir }}
60
- key : ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/yarn.lock') }}
61
53
- name : " Installing dependencies"
62
54
run : yarn install
63
55
- name : " Running build for development"
Original file line number Diff line number Diff line change 44
44
uses : actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c # v3
45
45
with :
46
46
node-version-file : " .nvmrc"
47
- cache : " yarn"
48
- - name : " Get yarn cache directory path"
49
- id : yarn-cache-dir-path
50
- run : echo "dir=$(yarn config get cacheFolder)" >> ${{ runner.os == 'Windows' && '$env:GITHUB_ENV' || '$GITHUB_ENV' }}
51
- - name : " Defining cache"
52
- uses : actions/cache@937d24475381cd9c75ae6db12cb4e79714b926ed # v2
53
- env :
54
- cache-name : cache-node-modules
55
- with :
56
- path : ${{ env.dir }}
57
- key : ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/yarn.lock') }}
58
47
- name : " Installing dependencies"
59
48
run : yarn install
60
49
- name : " Running release for production"
You can’t perform that action at this time.
0 commit comments