From 5aa2e6c0c6e4c73d93307e9f70803237006afb28 Mon Sep 17 00:00:00 2001 From: seth Date: Wed, 20 Dec 2023 20:27:18 -0500 Subject: go back to lume --- .github/workflows/ci.yaml | 51 +++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 51 insertions(+) create mode 100644 .github/workflows/ci.yaml (limited to '.github/workflows/ci.yaml') diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml new file mode 100644 index 0000000..11c4a50 --- /dev/null +++ b/.github/workflows/ci.yaml @@ -0,0 +1,51 @@ +name: CI + +on: + push: + branches: [main] + pull_request: + workflow_dispatch: + +jobs: + build: + name: Build + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v4 + + - name: Setup Deno + uses: nekowinston/setup-deno@v1 + + - name: Run build + run: | + deno task build + + format: + name: Format + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v4 + + - name: Setup Deno + uses: nekowinston/setup-deno@v1 + + - name: Run format + run: | + deno fmt --check + + lint: + name: Lint + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v4 + + - name: Setup Deno + uses: nekowinston/setup-deno@v1 + + - name: Run lint + run: | + deno lint --compact || true + deno lint -- cgit v1.2.3