aboutsummaryrefslogtreecommitdiffstats
path: root/.github/workflows/test-frontend.yaml
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 /.github/workflows/test-frontend.yaml
parent2e2834d1be70627077272faccaab9c4581a27dd7 (diff)
downloadgreatoffice-0c69e9ea275a85c8664c15c1438e80c4f9a6bcfe.tar.xz
greatoffice-0c69e9ea275a85c8664c15c1438e80c4f9a6bcfe.zip
Set working-directory because cd does not work
Diffstat (limited to '.github/workflows/test-frontend.yaml')
-rw-r--r--.github/workflows/test-frontend.yaml18
1 files changed, 18 insertions, 0 deletions
diff --git a/.github/workflows/test-frontend.yaml b/.github/workflows/test-frontend.yaml
new file mode 100644
index 0000000..168518a
--- /dev/null
+++ b/.github/workflows/test-frontend.yaml
@@ -0,0 +1,18 @@
+name: pr
+on:
+ workflow_dispatch:
+jobs:
+ build:
+ name: build
+ runs-on: ubuntu-latest
+ steps:
+ - name: Checkout repo
+ uses: actions/checkout@v4
+ - name: Install bun
+ uses: oven-sh/setup-bun@v1
+ - name: Setup, check and test
+ working-directory: ./code/frontend
+ run: |
+ bun install
+ bun run check
+ bun run test