mirror of
https://github.com/directus/directus.git
synced 2026-01-23 08:08:04 -05:00
* Ignore node_modules for docs spellchecking * Add workflows for docs spellchecking * Update command to new structure * Skip core checks on pure docs changes * Don't build packages for spellcheck workflow Co-authored-by: Azri Kahar <42867097+azrikahar@users.noreply.github.com> --------- Co-authored-by: Azri Kahar <42867097+azrikahar@users.noreply.github.com> Co-authored-by: Rijk van Zanten <rijkvanzanten@me.com>
36 lines
595 B
YAML
36 lines
595 B
YAML
name: Docs
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- main
|
|
paths:
|
|
- docs/**
|
|
- .github/workflows/docs.yml
|
|
pull_request:
|
|
branches:
|
|
- main
|
|
paths:
|
|
- docs/**
|
|
- .github/workflows/docs.yml
|
|
|
|
concurrency:
|
|
group: docs-${{ github.ref }}
|
|
cancel-in-progress: true
|
|
|
|
jobs:
|
|
spellcheck:
|
|
name: Check Spelling
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v3
|
|
|
|
- name: Prepare
|
|
uses: ./.github/actions/prepare
|
|
with:
|
|
build: false
|
|
|
|
- name: Lint
|
|
run: pnpm --filter docs spellcheck
|