diff options
| author | seth <[email protected]> | 2023-12-20 20:27:18 -0500 |
|---|---|---|
| committer | seth <[email protected]> | 2023-12-21 02:34:37 +0000 |
| commit | 5aa2e6c0c6e4c73d93307e9f70803237006afb28 (patch) | |
| tree | f26a67452e2d4a4ed30506e533ac17cc95184fac /.github/workflows/ci.yaml | |
| parent | 2a6f22fc1f1939b102fb8925bf04914a4b553e17 (diff) | |
go back to lume
Diffstat (limited to '.github/workflows/ci.yaml')
| -rw-r--r-- | .github/workflows/ci.yaml | 51 |
1 files changed, 51 insertions, 0 deletions
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 |
