mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-01-27 14:38:28 +03:00
Use package.json for github actions node version
This commit is contained in:
parent
3f7f8789b3
commit
5896bd50d7
12
.github/workflows/pull_request.yml
vendored
12
.github/workflows/pull_request.yml
vendored
@ -19,9 +19,9 @@ jobs:
|
|||||||
- uses: actions/checkout@v6
|
- uses: actions/checkout@v6
|
||||||
with:
|
with:
|
||||||
persist-credentials: false
|
persist-credentials: false
|
||||||
- uses: actions/setup-node@master
|
- uses: actions/setup-node@v6
|
||||||
with:
|
with:
|
||||||
node-version: 16.x
|
node-version-file: web/package.json
|
||||||
- run: npm install
|
- run: npm install
|
||||||
working-directory: ./web
|
working-directory: ./web
|
||||||
- name: Lint
|
- name: Lint
|
||||||
@ -35,9 +35,9 @@ jobs:
|
|||||||
- uses: actions/checkout@v6
|
- uses: actions/checkout@v6
|
||||||
with:
|
with:
|
||||||
persist-credentials: false
|
persist-credentials: false
|
||||||
- uses: actions/setup-node@master
|
- uses: actions/setup-node@v6
|
||||||
with:
|
with:
|
||||||
node-version: 20.x
|
node-version-file: web/package.json
|
||||||
- run: npm install
|
- run: npm install
|
||||||
working-directory: ./web
|
working-directory: ./web
|
||||||
- name: Build web
|
- name: Build web
|
||||||
@ -78,9 +78,9 @@ jobs:
|
|||||||
uses: actions/checkout@v6
|
uses: actions/checkout@v6
|
||||||
with:
|
with:
|
||||||
persist-credentials: false
|
persist-credentials: false
|
||||||
- uses: actions/setup-node@master
|
- uses: actions/setup-node@v6
|
||||||
with:
|
with:
|
||||||
node-version: 20.x
|
node-version-file: web/package.json
|
||||||
- name: Install devcontainer cli
|
- name: Install devcontainer cli
|
||||||
run: npm install --global @devcontainers/cli
|
run: npm install --global @devcontainers/cli
|
||||||
- name: Build devcontainer
|
- name: Build devcontainer
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user