1818 - uses : actions/setup-node@v4
1919 with :
2020 # Keep in sync with netlify.toml
21- node-version : 16 .x
21+ node-version : 20 .x
2222 - name : Cache node_modules
2323 uses : actions/cache@v3
2424 id : cache
2929 # we don't use `npm ci` specifically to try to get faster CI flows. So caching
3030 # `node_modules` directly.
3131 path : ' node_modules'
32- key : ${{ runner.os }}-node-16 -${{ hashFiles('package*.json') }}
32+ key : ${{ runner.os }}-node-20 -${{ hashFiles('package*.json') }}
3333 - if : steps.cache.outputs.cache-hit != 'true'
3434 run : npm install
3535
@@ -40,13 +40,13 @@ jobs:
4040 - uses : actions/checkout@v4
4141 - uses : actions/setup-node@v4
4242 with :
43- node-version : 16 .x
43+ node-version : 20 .x
4444 - name : Load node_modules from cache
4545 uses : actions/cache@v3
4646 with :
4747 # Use node_modules from previous jobs
4848 path : ' node_modules'
49- key : ${{ runner.os }}-node-16 -${{ hashFiles('package*.json') }}
49+ key : ${{ runner.os }}-node-20 -${{ hashFiles('package*.json') }}
5050 - name : Cache BookReader/
5151 uses : actions/cache@v3
5252 id : build-cache
@@ -64,13 +64,13 @@ jobs:
6464 - uses : actions/checkout@v4
6565 - uses : actions/setup-node@v4
6666 with :
67- node-version : 16 .x
67+ node-version : 20 .x
6868 - name : Load node_modules from cache
6969 uses : actions/cache@v3
7070 with :
7171 # Use node_modules from previous jobs
7272 path : ' node_modules'
73- key : ${{ runner.os }}-node-16 -${{ hashFiles('package*.json') }}
73+ key : ${{ runner.os }}-node-20 -${{ hashFiles('package*.json') }}
7474 - run : npm run lint
7575 - run : npm run test
7676 - run : npm run codecov
@@ -82,13 +82,13 @@ jobs:
8282 - uses : actions/checkout@v4
8383 - uses : actions/setup-node@v4
8484 with :
85- node-version : 16 .x
85+ node-version : 20 .x
8686 - name : Load node_modules from cache
8787 uses : actions/cache@v3
8888 with :
8989 # Use node_modules from previous jobs
9090 path : ' node_modules'
91- key : ${{ runner.os }}-node-16 -${{ hashFiles('package*.json') }}
91+ key : ${{ runner.os }}-node-20 -${{ hashFiles('package*.json') }}
9292 - name : Load BookReader/ from cache
9393 uses : actions/cache@v3
9494 with :
0 commit comments