mirror of
https://github.com/hay-kot/homebox.git
synced 2024-11-16 05:38:42 +00:00
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"
|
||||
|
||||
jobs:
|
||||
go-test:
|
||||
Go:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- 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:
|
||||
push:
|
||||
branches: [main]
|
||||
branches: [master]
|
||||
|
||||
jobs:
|
||||
publish:
|
||||
|
|
Loading…
Reference in a new issue