File tree Expand file tree Collapse file tree 2 files changed +4
-32
lines changed Expand file tree Collapse file tree 2 files changed +4
-32
lines changed Original file line number Diff line number Diff line change 48
48
uses : actions/setup-node@v3
49
49
with :
50
50
node-version : ${{ matrix.node }}
51
-
52
- - name : Cache dependencies ${{ matrix.node }}
53
- uses : actions/cache@v3
54
- with :
55
- path : ~/.npm
56
- key : ${{ runner.os }}-node-${{ matrix.node }}-${{ hashFiles('**/package-lock.json') }}
57
- restore-keys : |
58
- ${{ runner.os }}-node-${{ matrix.node }}
51
+ cache : npm
59
52
# for this workflow we also require npm audit to pass
60
53
- run : npm i
61
54
- run : npm run test:coverage
96
89
uses : actions/setup-node@v3
97
90
with :
98
91
node-version : ${{ matrix.node }}
99
-
100
- - name : Cache dependencies ${{ matrix.node }}
101
- uses : actions/cache@v3
102
- with :
103
- path : ~/.npm
104
- key : ${{ runner.os }}-node-${{ matrix.node }}-node-oauth/express-oauth-server-${{ hashFiles('github/testing/express/**/package-lock.json') }}
105
- restore-keys : |
106
- ${{ runner.os }}-node-${{ matrix.node }}-node-oauth/express-oauth-server
92
+ cache : npm
107
93
108
94
# in order to test the adapter we need to use the current checkout
109
95
# and install it as local dependency
Original file line number Diff line number Diff line change 24
24
uses : actions/setup-node@v3
25
25
with :
26
26
node-version : 20
27
-
28
- - name : cache dependencies
29
- uses : actions/cache@v3
30
- with :
31
- path : ~/.npm
32
- key : ${{ runner.os }}-node-16-${{ hashFiles('**/package-lock.json') }}
33
- restore-keys : |
34
- ${{ runner.os }}-node-
27
+ cache : npm
35
28
- run : npm install
36
29
- run : npm run lint
37
30
50
43
uses : actions/setup-node@v3
51
44
with :
52
45
node-version : ${{ matrix.node }}
53
-
54
- - name : Cache dependencies ${{ matrix.node }}
55
- uses : actions/cache@v3
56
- with :
57
- path : ~/.npm
58
- key : ${{ runner.os }}-node-${{ matrix.node }}-${{ hashFiles('**/package-lock.json') }}
59
- restore-keys : |
60
- ${{ runner.os }}-node-${{ matrix.node }}
46
+ cache : npm
61
47
- run : npm i
62
48
- run : npm run test:coverage
63
49
You can’t perform that action at this time.
0 commit comments