Add basic PR CI

This commit is contained in:
Aarni Koskela
2024-05-30 16:01:17 +03:00
parent ac140c77a3
commit 6643e223cd

20
.github/workflows/ci.yml vendored Normal file
View File

@@ -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