added node setup action
This commit is contained in:
parent
45a37ac3d6
commit
fb1ec50ea8
2 changed files with 12 additions and 0 deletions
6
.github/workflows/frontend.yml
vendored
6
.github/workflows/frontend.yml
vendored
|
@ -15,6 +15,12 @@ jobs:
|
|||
- name: Checkout Repo
|
||||
uses: actions/checkout@master
|
||||
|
||||
- uses: actions/setup-node@v2
|
||||
with:
|
||||
node-version: 16
|
||||
cache: npm
|
||||
cache-dependency-path: frontend/package-lock.json
|
||||
|
||||
- name: Install Dependencies
|
||||
run: npm --prefix frontend install
|
||||
|
||||
|
|
6
.github/workflows/functions.yml
vendored
6
.github/workflows/functions.yml
vendored
|
@ -15,6 +15,12 @@ jobs:
|
|||
- name: Checkout Repo
|
||||
uses: actions/checkout@master
|
||||
|
||||
- uses: actions/setup-node@v2
|
||||
with:
|
||||
node-version: 16
|
||||
cache: npm
|
||||
cache-dependency-path: functions/package-lock.json
|
||||
|
||||
- name: Install Dependencies
|
||||
run: npm --prefix functions install
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue