mirror of
https://github.com/tachiyomiorg/website.git
synced 2024-12-21 15:41:59 +01:00
Use Node.js 16 in workflow (which ships with npm 7)
This commit is contained in:
parent
724274590f
commit
12d3816a5f
11
.github/workflows/push.yml
vendored
11
.github/workflows/push.yml
vendored
@ -14,21 +14,18 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
|
|
||||||
- name: Setup Node 12
|
- name: Setup Node.js
|
||||||
uses: actions/setup-node@v2
|
uses: actions/setup-node@v2
|
||||||
with:
|
with:
|
||||||
node-version: 12
|
node-version: 16
|
||||||
|
|
||||||
- name: Setup NPM 7
|
|
||||||
run: npm install -g npm@7
|
|
||||||
|
|
||||||
- name: Check cache
|
- name: Check cache
|
||||||
uses: actions/cache@v2
|
uses: actions/cache@v2
|
||||||
id: npm-cache
|
id: npm-cache
|
||||||
with:
|
with:
|
||||||
path: '**/node_modules'
|
path: '**/node_modules'
|
||||||
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
|
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
|
||||||
|
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
if: steps.npm-cache.outputs.cache-hit != 'true'
|
if: steps.npm-cache.outputs.cache-hit != 'true'
|
||||||
run: npm install
|
run: npm install
|
||||||
|
Loading…
Reference in New Issue
Block a user