Skip to content

Don't check fmt on windows #3

Don't check fmt on windows

Don't check fmt on windows #3

Workflow file for this run

name: CI
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
check:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
steps:
- uses: actions/checkout@v3
- uses: denoland/setup-deno@v1
with:
deno-version: v1.x
- name: "Check format"
if: matrix.os != 'windows-latest'
run: deno fmt --check --ignore=interfaces
- name: "Lint"
run: deno lint --ignore=interfaces
- name: "Typecheck"
run: deno check main.ts
test:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
steps:
- uses: actions/checkout@v3
- uses: denoland/setup-deno@v1
with:
deno-version: v1.x
- name: "Run unit tests"
run: deno test -A