From 80bc3b7d2ce4fc795e65ff7f7413acfc1435dacc Mon Sep 17 00:00:00 2001 From: Aarni Koskela Date: Thu, 30 May 2024 16:01:17 +0300 Subject: [PATCH] Add basic PR CI --- .github/workflows/ci.yml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 .github/workflows/ci.yml diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000..1eecd61 --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,20 @@ +name: CI +on: + pull_request: + push: + branches: + - master +jobs: + build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - uses: oven-sh/setup-bun@v1 + - run: bun install --frozen-lockfile + - run: bun run build + - run: bun run lint + - run: bun run prettier --check . + - uses: actions/upload-artifact@v2 + with: + name: build + path: out