diff options
-rw-r--r-- | .github/workflows/test.yaml | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml new file mode 100644 index 0000000..352e318 --- /dev/null +++ b/.github/workflows/test.yaml @@ -0,0 +1,27 @@ +name: Test Deno Module + +on: + push: + branches: [master] + pull_request: + branches: [master] + +jobs: + test: + runs-on: ubuntu-latest + + strategy: + matrix: + deno-version: [1.0.0, 1.0.1, 1.0.2, 1.0.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: Lint Deno Module + run: deno fmt --check + - name: Test Deno Module + run: deno test --allow-none |