split tests and build

pull/4329/head
tidusjar 3 years ago
parent 27421f61d7
commit 05b634b4a1

@ -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…
Cancel
Save