Skip to content

Commit ad7bd47

Browse files
committed
chore: CIにtextlintの実行を追加
1 parent 68fd6fd commit ad7bd47

File tree

2 files changed

+24
-70
lines changed

2 files changed

+24
-70
lines changed

.github/workflows/ci.yml

Lines changed: 0 additions & 70 deletions
This file was deleted.

.github/workflows/deploy.yml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,3 +25,27 @@ jobs:
2525
uses: JamesIves/github-pages-deploy-action@v4
2626
with:
2727
folder: dist # The folder the action should deploy.
28+
29+
textlint-md:
30+
runs-on: ubuntu-24.04
31+
steps:
32+
- name: Checkout the repository
33+
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4
34+
- name: Setup tools
35+
uses: jdx/mise-action@d6e32c1796099e0f1f3ac741c220a8b7eae9e5dd # v2
36+
- name: Install dependencies
37+
run: bun install --frozen-lockfile
38+
- name: Lint Markdown using textlint
39+
run: bun run --bun textlint-md
40+
41+
textlint-html:
42+
runs-on: ubuntu-24.04
43+
steps:
44+
- name: Checkout the repository
45+
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4
46+
- name: Setup tools
47+
uses: jdx/mise-action@d6e32c1796099e0f1f3ac741c220a8b7eae9e5dd # v2
48+
- name: Install dependencies
49+
run: bun install --frozen-lockfile
50+
- name: Lint HTML using textlint
51+
run: bun run --bun textlint-html

0 commit comments

Comments
 (0)