From da9e0ee5be750b8da1957e5226c3b818f1ce8e00 Mon Sep 17 00:00:00 2001 From: ivar Date: Mon, 13 May 2024 00:00:07 +0200 Subject: Add workflow --- .github/workflows/pr.yaml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 .github/workflows/pr.yaml (limited to '.github') 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 -- cgit v1.3