mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-08-14 02:26:55 -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 ]
|
||||
|
||||
jobs:
|
||||
build:
|
||||
build-ui:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/setup-dotnet@v1
|
||||
with:
|
||||
dotnet-version: '5.0.x'
|
||||
|
||||
- uses: actions/setup-node@v2
|
||||
with:
|
||||
node-version: '14'
|
||||
|
@ -23,7 +19,7 @@ jobs:
|
|||
- name: UI Install
|
||||
run: yarn --cwd ./src/Ombi/ClientApp install
|
||||
|
||||
- name: Build and Publish UI
|
||||
- name: Build UI
|
||||
run: yarn --cwd ./src/Ombi/ClientApp run build
|
||||
|
||||
- name: Publish UI Artifacts
|
||||
|
@ -33,6 +29,14 @@ jobs:
|
|||
path: |
|
||||
./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
|
||||
run: |
|
||||
cd src/Ombi
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue