Skip to content

Commit

Permalink
Validate remark formatting in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
remcohaszing committed Aug 31, 2024
1 parent de4561e commit 98cd275
Showing 1 changed file with 16 additions and 1 deletion.
17 changes: 16 additions & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,15 @@ jobs:
- run: npm ci
- run: npx prettier --check .

remark:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with: { node-version: 22 }
- run: npm ci
- run: npx remark . --frail

tsc:
runs-on: ubuntu-latest
steps:
Expand All @@ -59,7 +68,13 @@ jobs:

release:
runs-on: ubuntu-latest
needs: [eslint, examples, pack, prettier, tsc]
needs:
- eslint
- examples
- pack
- prettier
- remark
- tsc
if: startsWith(github.ref, 'refs/tags/')
steps:
- uses: actions/setup-node@v4
Expand Down

0 comments on commit 98cd275

Please sign in to comment.