Article: コンポーネント指向を支える技術 #19
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: | |
jobs: | |
textlint: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: 16 | |
cache: "npm" | |
- run: npm ci | |
- run: npx textlint --fix articles/**/*.md | |
- uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: 3 | |
bundler-cache: true | |
- run: bundle exec danger | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |