Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 3 additions & 13 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,13 +52,9 @@ jobs:
- name: Type check workspace
run: deno check

# fmt and lint are advisory for now: they report problems without failing the
# run (and therefore without blocking publish). Remove `continue-on-error`
# once `dev` has been merged into `main` and both pass.
fmt:
name: format
runs-on: ubuntu-latest
continue-on-error: true
steps:
- name: Checkout
uses: actions/checkout@v6
Expand All @@ -72,7 +68,6 @@ jobs:
lint:
name: lint
runs-on: ubuntu-latest
continue-on-error: true
steps:
- name: Checkout
uses: actions/checkout@v6
Expand All @@ -83,20 +78,15 @@ jobs:
- name: Lint
run: deno lint

# `feeds` currently has missing-JSDoc errors, so its leg is advisory. Set
# `advisory: false` once they are documented.
doc-lint:
name: doc lint (${{ matrix.package }})
runs-on: ubuntu-latest
continue-on-error: ${{ matrix.advisory }}
strategy:
fail-fast: false
matrix:
include:
- package: manage
advisory: false
- package: feeds
advisory: true
package:
- manage
- feeds
steps:
- name: Checkout
uses: actions/checkout@v6
Expand Down
5 changes: 2 additions & 3 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,7 @@ cd middleware && deno task test

CI (`.github/workflows/ci.yml`) runs each package's tests, type-checks the
workspace with `deno check`, and runs `deno fmt --check`, `deno lint` and the
`doc:lint` tasks. Format, lint and `feeds` doc lint are advisory for now, so
they report problems without failing the run. Tests and the type check must pass
before a push to `main` is published to JSR.
`doc:lint` tasks. All of them must pass before a push to `main` is published to
JSR.

---