aboutsummaryrefslogtreecommitdiffstats
path: root/.github/workflows/pr.yaml
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows/pr.yaml')
-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