Skip to content

Commit

Permalink
ci(workflows/textlint): update lint workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
kubosho committed Oct 14, 2024
1 parent d3e2bd4 commit 95d38a8
Showing 1 changed file with 9 additions and 10 deletions.
19 changes: 9 additions & 10 deletions .github/workflows/textlint.yaml
Original file line number Diff line number Diff line change
@@ -1,30 +1,29 @@
name: Text check by Textlint
on:
push:
branches: [main, master]
branches:
- main
paths:
- 'entries/**.md'
pull_request:
branches: [main, master]
branches:
- main
paths:
- 'entries/**.md'

jobs:
build:
runs-on: ubuntu-latest

lint:
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0

- uses: actions/setup-node@v4
with:
node-version: v20.17.0

cache: 'npm'
node-version: 20
- name: Package Install
run: npm install

run: npm ci
- name: Exec Textlint
run: |
git diff origin/${GITHUB_BASE_REF}..origin/${GITHUB_HEAD_REF} \
Expand Down

0 comments on commit 95d38a8

Please sign in to comment.