aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows/test.yaml
blob: 29da35d895481784c6eedbd139c512b312e3d054 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
name: Test Deno Module

on:
  push:
    branches: [master]
  pull_request:
    branches: [master]

jobs:
  test:
    runs-on: ubuntu-latest

    strategy:
      matrix:
        deno_version: [1.1.3]

    steps:
      - name: Git Checkout Deno Module
        uses: actions/checkout@v2
      - name: Use Deno Version ${{ matrix.deno_version }}
        uses: denolib/setup-deno@master
        with:
          deno-version: ${{ matrix.deno_version }}
      # - name: Format check Deno Module
      #   run: deno fmt --check
      - name: Lint Deno Module
        run: deno lint --unstable
      - name: Test Deno Module
        run: deno test --allow-none