1159cl/.gitea/workflows/deno.yml

34 lines
615 B
YAML
Raw Normal View History

2023-05-16 18:43:04 +00:00
name: Deno app build and testing
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
deno:
runs-on: ubuntu-latest
timeout-minutes: 5
steps:
- name: Setup repo
uses: actions/checkout@v3
- name: Setup Deno
2023-05-16 20:12:39 +00:00
uses: https://github.com/denoland/setup-deno@v1
2023-05-16 18:43:04 +00:00
with:
deno-version: v1.x
- name: Verify formatting
run: deno fmt --check
- name: Run linter
run: deno lint
- name: Run tests
run: deno task test
- name: Run type check
run: deno check *.ts && deno check **/*.ts