diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000..e046da4 --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,24 @@ +name: ci + +on: [push, pull_request] + +jobs: + test: + name: ${{ matrix.os }} + runs-on: ${{ matrix.os }} + timeout-minutes: 5 + strategy: + matrix: + os: [macOS-latest, windows-latest, ubuntu-latest] + steps: + - uses: actions/checkout@master + - uses: denolib/setup-deno@master + with: + deno-version: 1.0.2 + + - run: deno -V + + - if: matrix.os == 'ubuntu-latest' + run: deno fmt --check + + - run: deno test -A --unstable