Skip to content

chore: migrate to jsr #18

chore: migrate to jsr

chore: migrate to jsr #18

name: ci
on: [push, pull_request]
jobs:
build:
name: tests (${{ matrix.os }})
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macOS-latest]
fail-fast: true
steps:
- uses: actions/checkout@v2
- name: download deno
uses: denolib/setup-deno@v2
with:
deno-version: v1.31.3
- name: check format
if: matrix.os == 'ubuntu-latest'
run: deno fmt --check
- name: check lint
if: matrix.os == 'ubuntu-latest'
run: deno lint --unstable
- name: run tests
run: deno test --allow-read=. --allow-write=.