Skip to content

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

workflow and repo cleanup

Hayden79d256b76120
diff --git a/.github/workflows/frontend.yaml b/.github/workflows/frontend.yaml
index 86a5c0c2..9cab6056 100644
--- a/.github/workflows/frontend.yaml
+++ b/.github/workflows/frontend.yaml
@@ -1,4 +1,4 @@
-name: Frontend / Integration
+name: Frontend / E2E
on:
workflow_call:
@@ -7,21 +7,13 @@ jobs:
Frontend:
runs-on: ubuntu-latest
steps:
- - name: Install Task
- uses: arduino/setup-task@v1
-
- - name: Set up Go
- uses: actions/setup-go@v2
- with:
- go-version: 1.19
-
- - uses: actions/setup-node@v3
+ - name: Checkout
+ uses: actions/checkout@v2
with:
- node-version: 18
+ fetch-depth: 0
- - uses: pnpm/[email protected]
- with:
- version: 6.0.2
+ - name: Install Task
+ uses: arduino/setup-task@v1
- name: Set up Go
uses: actions/setup-go@v2
@@ -36,14 +28,9 @@ jobs:
with:
version: 6.0.2
- - name: Checkout
- uses: actions/checkout@v2
- with:
- fetch-depth: 0
-
- name: Install dependencies
run: pnpm install
working-directory: frontend
- name: Run Integration Tests
- run: task test:integration
+ run: task test:ci
diff --git a/.github/workflows/publish.yaml b/.github/workflows/publish.yaml
index 51e29e84..b6d3b76f 100644
--- a/.github/workflows/publish.yaml
+++ b/.github/workflows/publish.yaml
@@ -18,6 +18,7 @@ jobs:
uses: hay-kot/homebox/.github/workflows/frontend.yaml@main
deploy:
+ name: "Deploy Nightly to Fly.io"
runs-on: ubuntu-latest
needs:
- backend-tests
diff --git a/Taskfile.yml b/Taskfile.yml
index cc215da2..bea4fd43 100644
--- a/Taskfile.yml
+++ b/Taskfile.yml
@@ -31,7 +31,7 @@ tasks:
- cd backend && go test -race -coverprofile=coverage.out -covermode=atomic ./app/... ./internal/... ./pkgs/... -v -cover
silent: true
- test:integration:
+ test:ci:
cmds:
- cd backend && go build ./app/api
- backend/api &