update ci

This commit is contained in:
Hayden 2022-09-03 01:30:45 -08:00
parent 08d6c83fd4
commit a2f3fa6cf1
3 changed files with 24 additions and 2 deletions

22
.github/workflows/frontend.yaml vendored Normal file
View 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

View file

@ -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

View file

@ -2,7 +2,7 @@ name: Build Docker Image
on: on:
push: push:
branches: [main] branches: [master]
jobs: jobs:
publish: publish: