f59da74a3e
Bumps [actions/checkout](https://github.com/actions/checkout) from 2 to 3.1.0. - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](https://github.com/actions/checkout/compare/v2...v3.1.0) --- updated-dependencies: - dependency-name: actions/checkout dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com>
46 lines
1 KiB
YAML
46 lines
1 KiB
YAML
name: Docs Checks
|
|
|
|
on:
|
|
push:
|
|
paths:
|
|
- ".github/workflows/doc-checks.yml"
|
|
- "docs/**"
|
|
pull_request:
|
|
paths:
|
|
- ".github/workflows/doc-checks.yml"
|
|
- "docs/**"
|
|
|
|
jobs:
|
|
lint:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
- uses: bahmutov/npm-install@v1
|
|
with:
|
|
working-directory: docs
|
|
- name: ESLint
|
|
run: npm run lint
|
|
working-directory: docs
|
|
prettier:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
- uses: bahmutov/npm-install@v1
|
|
with:
|
|
working-directory: docs
|
|
- name: Prettier check
|
|
run: npm run prettier:check
|
|
working-directory: docs
|
|
typecheck:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
- uses: bahmutov/npm-install@v1
|
|
with:
|
|
working-directory: docs
|
|
- name: Build
|
|
run: npm run build
|
|
working-directory: docs
|
|
- name: TypeScript check
|
|
run: npm run typecheck
|
|
working-directory: docs
|