Skip to content

A continuation of HomeBox the inventory and organization system built for the Home User

update ci

Haydena2f3fa6cf1bb
diff --git a/.github/workflows/frontend.yaml b/.github/workflows/frontend.yaml
new file mode 100644
index 00000000..668d072b
--- /dev/null
+++ b/.github/workflows/frontend.yaml
@@ -0,0 +1,22 @@
+on:
+ - push
+ - pull_request
+
+jobs:
+ Frontend:
+ runs-on: ubuntu-latest
+ steps:
+ - uses: pnpm/[email protected]
+ 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
diff --git a/.github/workflows/go.yaml b/.github/workflows/go.yaml
index c996e9a7..9222bbb8 100644
--- a/.github/workflows/go.yaml
+++ b/.github/workflows/go.yaml
@@ -13,7 +13,7 @@ on:
- "client/**/*.ts"
jobs:
- go-test:
+ Go:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
diff --git a/.github/workflows/publish.yaml b/.github/workflows/publish.yaml
index 53499bf8..f93e6ba9 100644
--- a/.github/workflows/publish.yaml
+++ b/.github/workflows/publish.yaml
@@ -2,7 +2,7 @@ name: Build Docker Image
on:
push:
- branches: [main]
+ branches: [master]
jobs:
publish: