mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-02-03 01:35:22 +03:00
Build devcontainer in its own job
This commit is contained in:
parent
6589368924
commit
9eb9e29c87
16
.github/workflows/pull_request.yml
vendored
16
.github/workflows/pull_request.yml
vendored
@ -6,6 +6,18 @@ env:
|
|||||||
DEFAULT_PYTHON: 3.9
|
DEFAULT_PYTHON: 3.9
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
|
build_devcontainer:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v3
|
||||||
|
- uses: actions/setup-node@master
|
||||||
|
with:
|
||||||
|
node-version: 16.x
|
||||||
|
- name: Install devcontainer cli
|
||||||
|
run: npm install --global @devcontainer/cli
|
||||||
|
- name: Ensure devcontainer builds
|
||||||
|
run: devcontainer build --workspace-folder .
|
||||||
|
|
||||||
web_lint:
|
web_lint:
|
||||||
name: Web - Lint
|
name: Web - Lint
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
@ -19,10 +31,6 @@ jobs:
|
|||||||
- name: Lint
|
- name: Lint
|
||||||
run: npm run lint
|
run: npm run lint
|
||||||
working-directory: ./web
|
working-directory: ./web
|
||||||
- name: Install devcontainer cli
|
|
||||||
run: npm install --global @devcontainer/cli
|
|
||||||
- name: Ensure devcontainer builds
|
|
||||||
run: devcontainer build --workspace-folder .
|
|
||||||
|
|
||||||
web_test:
|
web_test:
|
||||||
name: Web - Test
|
name: Web - Test
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user