aboutsummaryrefslogtreecommitdiffstats
path: root/.github
diff options
context:
space:
mode:
authorivar <i@oiee.no>2024-05-13 00:00:07 +0200
committerivar <i@oiee.no>2024-05-13 00:00:07 +0200
commitda9e0ee5be750b8da1957e5226c3b818f1ce8e00 (patch)
tree2dfc25376b50459c8f0b8652b7481255a1378730 /.github
parentf356f15d3a7dce1669944d23ab395ec96d042293 (diff)
downloadgreatoffice-da9e0ee5be750b8da1957e5226c3b818f1ce8e00.tar.xz
greatoffice-da9e0ee5be750b8da1957e5226c3b818f1ce8e00.zip
Add workflow
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/pr.yaml20
1 files changed, 20 insertions, 0 deletions
diff --git a/.github/workflows/pr.yaml b/.github/workflows/pr.yaml
new file mode 100644
index 0000000..1633bc2
--- /dev/null
+++ b/.github/workflows/pr.yaml
@@ -0,0 +1,20 @@
+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
+ run: cd code/frontend
+ - name: Install dependencies
+ run: bun install
+ - name: Check
+ run: bun run check
+ - name: Test
+ run: bun run test