Skip to content

Reverted last 6 commits because jsr is not compatible with browser #142

Reverted last 6 commits because jsr is not compatible with browser

Reverted last 6 commits because jsr is not compatible with browser #142

Workflow file for this run

name: ci
on:
push:
branches: [master]
pull_request:
branches: [master]
jobs:
test:
name: test-${{ matrix.deno }}-${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
matrix:
deno: [old, stable, canary]
os: [macOS-latest, windows-latest, ubuntu-latest]
steps:
- name: Setup repo
uses: actions/checkout@v2
- name: Setup Deno
run: |
curl -fsSL https://deno.land/x/install/install.sh | sh ${{ matrix.deno == 'old' && '-s v1.37.2' || '' }}
echo "$HOME/.deno/bin" >> $${{ runner.os == 'Windows' && 'env:' || '' }}GITHUB_PATH
- name: Upgrade to Deno canary
if: matrix.deno == 'canary'
run: deno upgrade --canary
- name: Format
if: runner.os == 'Linux'
run: deno fmt --check
- name: Lint
if: runner.os == 'Linux'
run: deno lint --unstable
- name: Run Tests
run: deno test -A