Skip to content

Update

Update #29

Workflow file for this run

name: ci
on:
push:
branches: [main]
pull_request:
branches: [main]
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.35.0' || '' }}
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 --unstable --check -A