ci: build web after tests and allow skipping tests [CI SKIP]
This commit is contained in:
1 parent
1da8d083c1
commit
56d80e8c80
2 files changed
+27
-10
No files matched your search
@@ -23,13 +23,3 @@ steps:
|
|||||||
NUGET_PACKAGES: /home/justme/.nuget/packages
|
NUGET_PACKAGES: /home/justme/.nuget/packages
|
||||||
commands:
|
commands:
|
||||||
- cd backend && dotnet test --solution Monitor.slnx -c Release
|
- cd backend && dotnet test --solution Monitor.slnx -c Release
|
||||||
|
|
||||||
- name: web-build
|
|
||||||
image: bash
|
|
||||||
environment:
|
|
||||||
NPM_CONFIG_CACHE: /home/justme/.npm
|
|
||||||
commands:
|
|
||||||
- npm ci --prefix web --prefer-offline
|
|
||||||
- npm run build --prefix web
|
|
||||||
- npm run lint:css --prefix web
|
|
||||||
depends_on: []
|
|
||||||
@@ -0,0 +1,27 @@
|
|||||||
|
labels:
|
||||||
|
ci: domain-linux-native
|
||||||
|
platform: linux/amd64
|
||||||
|
|
||||||
|
clone:
|
||||||
|
- name: git
|
||||||
|
image: plugin-git
|
||||||
|
settings:
|
||||||
|
lfs: false
|
||||||
|
|
||||||
|
when:
|
||||||
|
- event: pull_request
|
||||||
|
- event: push
|
||||||
|
branch: dev
|
||||||
|
|
||||||
|
depends_on:
|
||||||
|
- verify
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- name: web-build
|
||||||
|
image: bash
|
||||||
|
environment:
|
||||||
|
NPM_CONFIG_CACHE: /home/justme/.npm
|
||||||
|
commands:
|
||||||
|
- npm ci --prefix web --prefer-offline
|
||||||
|
- npm run build --prefix web
|
||||||
|
- npm run lint:css --prefix web
|
||||||
Reference in new issue
Block a user