aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorivar <i@oiee.no>2024-05-13 00:38:01 +0200
committerivar <i@oiee.no>2024-05-13 00:38:01 +0200
commit0c69e9ea275a85c8664c15c1438e80c4f9a6bcfe (patch)
tree9db8c0723bf813fd67d6306d73f41bdb3a70c8ce
parent2e2834d1be70627077272faccaab9c4581a27dd7 (diff)
downloadgreatoffice-0c69e9ea275a85c8664c15c1438e80c4f9a6bcfe.tar.xz
greatoffice-0c69e9ea275a85c8664c15c1438e80c4f9a6bcfe.zip
Set working-directory because cd does not work
-rw-r--r--.github/workflows/test-frontend.yaml (renamed from .github/workflows/pr.yaml)14
1 files changed, 6 insertions, 8 deletions
diff --git a/.github/workflows/pr.yaml b/.github/workflows/test-frontend.yaml
index 1633bc2..168518a 100644
--- a/.github/workflows/pr.yaml
+++ b/.github/workflows/test-frontend.yaml
@@ -10,11 +10,9 @@ jobs:
uses: actions/checkout@v4
- name: Install bun
uses: oven-sh/setup-bun@v1
- - name: Setup
- run: cd code/frontend
- - name: Install dependencies
- run: bun install
- - name: Check
- run: bun run check
- - name: Test
- run: bun run test
+ - name: Setup, check and test
+ working-directory: ./code/frontend
+ run: |
+ bun install
+ bun run check
+ bun run test