Skip to content

fix: remove TypeScript type annotations from generated JS (broke clie… #280

fix: remove TypeScript type annotations from generated JS (broke clie…

fix: remove TypeScript type annotations from generated JS (broke clie… #280

Workflow file for this run

name: Lint & Format
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: denoland/setup-deno@v2
with:
deno-version: '2'
# TODO: Include docs/ once upstream Deno fmt bug is fixed.
# Bug: Deno fmt panics on html-tagged template literals containing HTML entities.
# Track: https://github.com/denoland/deno/issues/30948
# Also: https://github.com/denoland/deno/issues/32954
# When resolved, change to: deno fmt --check
- name: Check formatting (packages only, skip docs/ due to Deno fmt panic on tagged templates with HTML entities)
run: deno fmt --check packages/
# TODO: Include docs/ once Deno lint handles the same patterns.
# When resolved, change to: deno lint
- name: Run linter (packages only, skip docs/ entirely)
run: deno lint packages/