forked from mirrors/homebox
update ci
This commit is contained in:
parent
08d6c83fd4
commit
a2f3fa6cf1
3 changed files with 24 additions and 2 deletions
22
.github/workflows/frontend.yaml
vendored
Normal file
22
.github/workflows/frontend.yaml
vendored
Normal file
|
@ -0,0 +1,22 @@
|
||||||
|
on:
|
||||||
|
- push
|
||||||
|
- pull_request
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
Frontend:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: pnpm/action-setup@v2.2.2
|
||||||
|
with:
|
||||||
|
version: 6.0.2
|
||||||
|
|
||||||
|
- name: Checkout
|
||||||
|
uses: actions/checkout@v2
|
||||||
|
with:
|
||||||
|
fetch-depth: 0
|
||||||
|
|
||||||
|
- name: Install dependencies
|
||||||
|
run: pnpm install
|
||||||
|
|
||||||
|
- name: Vitest
|
||||||
|
run: pnpm vitest --run
|
2
.github/workflows/go.yaml
vendored
2
.github/workflows/go.yaml
vendored
|
@ -13,7 +13,7 @@ on:
|
||||||
- "client/**/*.ts"
|
- "client/**/*.ts"
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
go-test:
|
Go:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
|
|
2
.github/workflows/publish.yaml
vendored
2
.github/workflows/publish.yaml
vendored
|
@ -2,7 +2,7 @@ name: Build Docker Image
|
||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches: [main]
|
branches: [master]
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
publish:
|
publish:
|
||||||
|
|
Loading…
Reference in a new issue