第二章1部の全面的な修正、大幅な書き直し / パッケージに分ける等 #285
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: textlint | |
on: | |
pull_request: | |
push: | |
branches: | |
- main | |
jobs: | |
textlint: | |
runs-on: ubuntu-latest | |
permissions: | |
pull-requests: write | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: '20' | |
- run: npm ci | |
- run: npx textlint ./docs/**/*.md | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: '20' | |
cache: npm | |
- run: npm ci | |
- name: Build | |
run: npm run docs:build | |
format: | |
runs-on: ubuntu-latest | |
permissions: | |
pull-requests: write | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: '20' | |
- run: npm ci | |
- run: npm run fmt |