Skip to content

Commit

Permalink
chore: CIにtextlintの実行を追加
Browse files Browse the repository at this point in the history
  • Loading branch information
3w36zj6 committed Nov 27, 2024
1 parent 68fd6fd commit ad7bd47
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 70 deletions.
70 changes: 0 additions & 70 deletions .github/workflows/ci.yml

This file was deleted.

24 changes: 24 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,3 +25,27 @@ jobs:
uses: JamesIves/github-pages-deploy-action@v4
with:
folder: dist # The folder the action should deploy.

textlint-md:
runs-on: ubuntu-24.04
steps:
- name: Checkout the repository
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4
- name: Setup tools
uses: jdx/mise-action@d6e32c1796099e0f1f3ac741c220a8b7eae9e5dd # v2
- name: Install dependencies
run: bun install --frozen-lockfile
- name: Lint Markdown using textlint
run: bun run --bun textlint-md

textlint-html:
runs-on: ubuntu-24.04
steps:
- name: Checkout the repository
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4
- name: Setup tools
uses: jdx/mise-action@d6e32c1796099e0f1f3ac741c220a8b7eae9e5dd # v2
- name: Install dependencies
run: bun install --frozen-lockfile
- name: Lint HTML using textlint
run: bun run --bun textlint-html

0 comments on commit ad7bd47

Please sign in to comment.