Switch to JSR deployement #42
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
# This workflow will install Deno then run `deno lint` and `deno test`. | |
# For more information see: https://github.com/denoland/setup-deno | |
name: Deno Test | |
on: | |
push: | |
branches: ["master"] | |
pull_request: | |
branches: ["master"] | |
permissions: | |
contents: read | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Setup repo | |
uses: actions/[email protected] # use nodeJS 20 | |
- name: Setup Deno | |
uses: denoland/[email protected] | |
# uses: denoland/setup-deno@9db7f66e8e16b5699a514448ce994936c63f0d54 | |
with: | |
deno-version: v1.43.3 | |
# deno-version: v1.40.x # required due to usage of Deno.stdout.isTerminal() | |
# deno-version: v1.x | |
- name: Verify formatting | |
run: deno fmt --check | |
- name: Run linter | |
run: deno lint | |
- name: Run tests | |
run: deno test -A |