Skip to content

Create lint.yml

Create lint.yml #17

Workflow file for this run

name: Deno
on:
push:
branches: ["main"]
pull_request:
branches: ["main"]
workflow_dispatch:
permissions:
checks: write
jobs:
test:
name: Deno Test
runs-on: ubuntu-latest
env:
deno-version: v1.x
steps:
- name: Setup Repository (${{github.event.repository.name}})
uses: actions/checkout@v3
- name: Setup Deno (${{env.deno-version}})
uses: denoland/setup-deno@v1
with:
deno-version: ${{env.deno-version}}
- name: Run linter
run: deno lint
- name: Run tests
if: success() || failure()
run: deno test -A --unstable --check --reload --doc --allow-none --junit-path="./report.xml"
- name: Report test
uses: mikepenz/[email protected]
with:
report_paths: 'report.xml'