File tree Expand file tree Collapse file tree 2 files changed +6
-13
lines changed Expand file tree Collapse file tree 2 files changed +6
-13
lines changed Original file line number Diff line number Diff line change @@ -58,19 +58,15 @@ jobs:
58
58
echo "Generating keypair..."
59
59
solana-keygen new -o "$HOME/.config/solana/id.json" --no-passphrase --silent
60
60
61
- - name : Cache Node modules
61
+ - name : Yarn Cache
62
62
uses : actions/cache@v2
63
- id : cache-node-modules
64
63
with :
65
- path : |
66
- ./.yarn
67
- ./node_modules
68
- key : ${{ runner.os }}-${{ hashFiles('yarn.lock') }}
64
+ path : ./.yarn/cache
65
+ key : ${{ runner.os }}-${{ hashFiles('./.yarn/**/*.js') }}
69
66
- name : Setup Node
70
67
uses : actions/setup-node@v2
71
68
with :
72
69
node-version : " 16"
73
- registry-url : " https://npm.pkg.github.com"
74
70
- run : yarn install
75
71
76
72
- name : Build program
Original file line number Diff line number Diff line change @@ -37,14 +37,11 @@ jobs:
37
37
with :
38
38
always-auth : true
39
39
node-version : 14.x
40
- - name : Cache Node modules
40
+ - name : Yarn Cache
41
41
uses : actions/cache@v2
42
- id : cache-node-modules
43
42
with :
44
- path : |
45
- ./.yarn
46
- ./node_modules
47
- key : ${{ runner.os }}-${{ hashFiles('yarn.lock') }}
43
+ path : ./.yarn/cache
44
+ key : ${{ runner.os }}-${{ hashFiles('./.yarn/**/*.js') }}
48
45
- name : Install Yarn dependencies
49
46
run : yarn install
50
47
- name : Parse IDLs
You can’t perform that action at this time.
0 commit comments