Skip to content

Commit

Permalink
🤷
Browse files Browse the repository at this point in the history
  • Loading branch information
ansermino committed Dec 11, 2024
1 parent bc05171 commit 221a7cb
Showing 1 changed file with 26 additions and 5 deletions.
31 changes: 26 additions & 5 deletions .github/workflows/docs-check.yml
Original file line number Diff line number Diff line change
@@ -1,21 +1,42 @@
name: CI
on: pull_request
name: Docs Check

# Cancel workflow if there is a new change to the branch.
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: ${{ github.ref != 'refs/heads/main' }}

on:
push:
branches:
- main
paths:
- '**.md'
- '.github/workflows/docs-check.yml'
merge_group:
pull_request:
branches:
- main
paths:
- '**.md'
- '.github/workflows/docs-check.yml'

jobs:
check:
docs-check:
name: Check
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./docs
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
# cache: yarn
cache: yarn
node-version: 18
- run: corepack enable
- run: make format-spellcheck-dictionary-check
- run: yarn install --frozen-lockfile
- run: yarn typecheck
- run: yarn spellcheck
- run: yarn format-check

- run: yarn build

0 comments on commit 221a7cb

Please sign in to comment.