diff --git a/.github/workflows/verify.yaml b/.github/workflows/verify.yaml new file mode 100644 index 0000000..fd08475 --- /dev/null +++ b/.github/workflows/verify.yaml @@ -0,0 +1,29 @@ +name: Verify + +on: + push: + branches: main + pull_request: + branches: main + +permissions: + contents: read + +jobs: + test: + runs-on: ubuntu-latest + + steps: + - name: checkout + uses: actions/checkout@v3 + + - name: setup deno + uses: denoland/setup-deno@v1 + with: + deno-version: v1.46.x + + - run: deno fmt --check + + - run: deno lint + + - run: deno test