@@ -12,19 +12,12 @@ jobs:
1212 runs-on : ubuntu-latest
1313
1414 steps :
15- - uses : actions/checkout@v2
16- - uses : actions/cache@v2
15+ - uses : actions/checkout@v3
16+ - name : Use Node.js 16
17+ uses : actions/setup-node@v3
1718 with :
18- path : |
19- ~/.npm
20- ~/.cache/firebase/emulators/
21- key : ${{ runner.os }}-firestore-${{ hashFiles('**/package-lock.json') }}
22- restore-keys : |
23- ${{ runner.os }}-firestore-
24- - name : Use Node.js 14
25- uses : actions/setup-node@v1
26- with :
27- node-version : 14
19+ node-version : 16
20+ cache : npm
2821 - uses : actions/setup-java@v2
2922 with :
3023 distribution : " adopt" # See 'Supported distributions' for available options
@@ -36,16 +29,11 @@ jobs:
3629 needs : test
3730 runs-on : ubuntu-latest
3831 steps :
39- - uses : actions/checkout@v2
40- - uses : actions/cache@v2
41- with :
42- path : ~/.npm
43- key : ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
44- restore-keys : |
45- ${{ runner.os }}-node-
46- - uses : actions/setup-node@v2
32+ - uses : actions/checkout@v3
33+ - uses : actions/setup-node@v3
4734 with :
48- node-version : 14
35+ node-version : 16
36+ cache : npm
4937 registry-url : https://registry.npmjs.org/
5038 - run : npm ci --prefer-offline
5139 - run : npm publish
@@ -56,16 +44,11 @@ jobs:
5644 needs : test
5745 runs-on : ubuntu-latest
5846 steps :
59- - uses : actions/checkout@v2
60- - uses : actions/cache@v2
61- with :
62- path : ~/.npm
63- key : ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
64- restore-keys : |
65- ${{ runner.os }}-node-
66- - uses : actions/setup-node@v2
47+ - uses : actions/checkout@v3
48+ - uses : actions/setup-node@v3
6749 with :
68- node-version : 14
50+ node-version : 16
51+ cache : npm
6952 registry-url : https://npm.pkg.github.com/
7053 - run : npm ci --prefer-offline
7154 - run : sed -i 's,"apollo-datasource-firestore","@swantzter/apollo-datasource-firestore",' package*.json
0 commit comments