mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-08-19 04:49:33 -07:00
split tests and build
This commit is contained in:
parent
27421f61d7
commit
05b634b4a1
1 changed files with 10 additions and 6 deletions
16
.github/workflows/build.yml
vendored
16
.github/workflows/build.yml
vendored
|
@ -8,14 +8,10 @@ on:
|
||||||
branches: [ develop ]
|
branches: [ develop ]
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build-ui:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
- uses: actions/setup-dotnet@v1
|
|
||||||
with:
|
|
||||||
dotnet-version: '5.0.x'
|
|
||||||
|
|
||||||
- uses: actions/setup-node@v2
|
- uses: actions/setup-node@v2
|
||||||
with:
|
with:
|
||||||
node-version: '14'
|
node-version: '14'
|
||||||
|
@ -23,7 +19,7 @@ jobs:
|
||||||
- name: UI Install
|
- name: UI Install
|
||||||
run: yarn --cwd ./src/Ombi/ClientApp install
|
run: yarn --cwd ./src/Ombi/ClientApp install
|
||||||
|
|
||||||
- name: Build and Publish UI
|
- name: Build UI
|
||||||
run: yarn --cwd ./src/Ombi/ClientApp run build
|
run: yarn --cwd ./src/Ombi/ClientApp run build
|
||||||
|
|
||||||
- name: Publish UI Artifacts
|
- name: Publish UI Artifacts
|
||||||
|
@ -33,6 +29,14 @@ jobs:
|
||||||
path: |
|
path: |
|
||||||
./src/Ombi/ClientApp/dist/
|
./src/Ombi/ClientApp/dist/
|
||||||
|
|
||||||
|
unit-test:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v2
|
||||||
|
- uses: actions/setup-dotnet@v1
|
||||||
|
with:
|
||||||
|
dotnet-version: '5.0.x'
|
||||||
|
|
||||||
- name: Run Unit Tests
|
- name: Run Unit Tests
|
||||||
run: |
|
run: |
|
||||||
cd src/Ombi
|
cd src/Ombi
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue