diff options
author | LarsVomMars | 2020-07-12 19:53:29 +0200 |
---|---|---|
committer | LarsVomMars | 2020-07-12 19:53:29 +0200 |
commit | 356ca52e374219e57c4f0384209f67195363a227 (patch) | |
tree | d9aa8a943cb851158db763965fa219c8076c4854 /.github/workflows/test.yaml | |
parent | 0396bf5585019657912d7a631e292615eaab166f (diff) |
Added deno workflow
Diffstat (limited to '.github/workflows/test.yaml')
-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 |