add check in CI #139
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI | |
on: [push] | |
jobs: | |
dkill-test: | |
runs-on: ${{ matrix.os }} | |
timeout-minutes: 3 | |
strategy: | |
matrix: | |
os: [ | |
ubuntu-latest, | |
windows-latest, | |
macos-latest | |
] | |
steps: | |
- uses: denoland/setup-deno@v1 | |
with: | |
deno-version: v1.x | |
- run: echo "🐧 This job is now running on a ${{ runner.os }} server hosted by GitHub!" | |
- name: Check out repository code | |
uses: actions/checkout@v3 | |
- name: lint | |
run: deno lint | |
- name: fmt | |
run: deno fmt --check | |
- name: Check | |
run: deno check ./mod.ts | |
- name: Run Test files in the repository | |
run: deno test -A | |
- run: echo "🍏 This job's status is ${{ job.status }}." |