Skip to content

Merge pull request #32 from traP-jp/feat/#14-json-response #24

Merge pull request #32 from traP-jp/feat/#14-json-response

Merge pull request #32 from traP-jp/feat/#14-json-response #24

Workflow file for this run

name: textlint
on:
pull_request:
push:
branches:
- main
- develop
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 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