From 5fbcdb000cc99df0c428f88a446c485959244cbd Mon Sep 17 00:00:00 2001 From: kei-s16 Date: Fri, 16 Aug 2024 14:24:32 +0900 Subject: [PATCH 1/6] =?UTF-8?q?=E3=82=AD=E3=83=A3=E3=83=83=E3=82=B7?= =?UTF-8?q?=E3=83=A5=E6=96=B9=E6=B3=95=E3=81=AE=E5=A4=89=E6=9B=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/lint.yaml | 21 ++++----------------- 1 file changed, 4 insertions(+), 17 deletions(-) diff --git a/.github/workflows/lint.yaml b/.github/workflows/lint.yaml index ba7d20f..81aa640 100644 --- a/.github/workflows/lint.yaml +++ b/.github/workflows/lint.yaml @@ -13,32 +13,19 @@ jobs: - name: "checkoutする" uses: actions/checkout@v4 + - name: "corepackの有効化" + run: corepack enable - name: "Node.jsのセットアップ" uses: actions/setup-node@v4 with: node-version: 20 - - name: "pnpmのセットアップ" - uses: pnpm/action-setup@v3 - id: pnpm-install - with: - version: 8 - run_install: false + cache: "pnpm" + - name: "reviewdogのインストール" uses: reviewdog/action-setup@v1 with: reviewdog_version: latest - - name: "pnpmのパッケージ保存先を保持" - id: pnpm-cache - shell: bash - run: | - echo "STORE_PATH=$(pnpm store path)" >> $GITHUB_OUTPUT - - name: "キャッシュを使う" - uses: actions/cache@v4 - id: pnpm-cache-node_modules - with: - path: ${{ steps.pnpm-cache.outputs.STORE_PATH }} - key: ${{ runner.os }}-node_modules-${{ hashFiles('**/pnpm-lock.yaml') }} - name: "パッケージのインストール" run: pnpm install From e2df90346122e882c3871dbfb8830f2ffecaad80 Mon Sep 17 00:00:00 2001 From: kei-s16 Date: Fri, 16 Aug 2024 14:25:03 +0900 Subject: [PATCH 2/6] =?UTF-8?q?=E5=8B=95=E4=BD=9C=E7=A2=BA=E8=AA=8D?= =?UTF-8?q?=E3=81=AE=E3=81=9F=E3=82=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/lint.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/lint.yaml b/.github/workflows/lint.yaml index 81aa640..a9e84e1 100644 --- a/.github/workflows/lint.yaml +++ b/.github/workflows/lint.yaml @@ -2,9 +2,9 @@ name: "next lintをかける" on: pull_request: - paths: - - "**/*.ts" - - "**/*.tsx" + #paths: + # - "**/*.ts" + # - "**/*.tsx" jobs: nextlint: From 44729a2074d66ed59dfc2c79f39acbcfd2c9c8a5 Mon Sep 17 00:00:00 2001 From: kei-s16 Date: Fri, 16 Aug 2024 14:26:54 +0900 Subject: [PATCH 3/6] =?UTF-8?q?Revert=20"=E5=8B=95=E4=BD=9C=E7=A2=BA?= =?UTF-8?q?=E8=AA=8D=E3=81=AE=E3=81=9F=E3=82=81"?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This reverts commit e2df90346122e882c3871dbfb8830f2ffecaad80. --- .github/workflows/lint.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/lint.yaml b/.github/workflows/lint.yaml index a9e84e1..81aa640 100644 --- a/.github/workflows/lint.yaml +++ b/.github/workflows/lint.yaml @@ -2,9 +2,9 @@ name: "next lintをかける" on: pull_request: - #paths: - # - "**/*.ts" - # - "**/*.tsx" + paths: + - "**/*.ts" + - "**/*.tsx" jobs: nextlint: From 77999f8fd79667b08fec64de9568de6779657ec5 Mon Sep 17 00:00:00 2001 From: kei-s16 Date: Fri, 16 Aug 2024 14:27:59 +0900 Subject: [PATCH 4/6] =?UTF-8?q?textlint=E5=81=B4=E3=82=82=E5=90=8C?= =?UTF-8?q?=E3=81=98=E3=82=88=E3=81=86=E3=81=AB=E3=81=99=E3=82=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/textlint.yaml | 21 ++++----------------- 1 file changed, 4 insertions(+), 17 deletions(-) diff --git a/.github/workflows/textlint.yaml b/.github/workflows/textlint.yaml index f19679b..e0dda8f 100644 --- a/.github/workflows/textlint.yaml +++ b/.github/workflows/textlint.yaml @@ -17,32 +17,19 @@ jobs: - name: "fetchする" run: git fetch + - name: "corepackの有効化" + run: corepack enable - name: "Node.jsのセットアップ" uses: actions/setup-node@v4 with: node-version: 20 - - name: "pnpmのセットアップ" - uses: pnpm/action-setup@v3 - id: pnpm-install - with: - version: 8 - run_install: false + cache: "pnpm" + - name: "reviewdogのインストール" uses: reviewdog/action-setup@v1 with: reviewdog_version: latest - - name: "pnpmのパッケージ保存先を保持" - id: pnpm-cache - shell: bash - run: | - echo "STORE_PATH=$(pnpm store path)" >> $GITHUB_OUTPUT - - name: "キャッシュを使う" - uses: actions/cache@v4 - id: pnpm-cache-node_modules - with: - path: ${{ steps.pnpm-cache.outputs.STORE_PATH }} - key: ${{ runner.os }}-node_modules-${{ hashFiles('**/pnpm-lock.yaml') }} - name: "パッケージのインストール" run: pnpm install From ef6d6187deda1f6b3f8dd5d34cace5c3d4f189e4 Mon Sep 17 00:00:00 2001 From: kei-s16 Date: Fri, 16 Aug 2024 14:28:21 +0900 Subject: [PATCH 5/6] =?UTF-8?q?=E5=8B=95=E4=BD=9C=E7=A2=BA=E8=AA=8D?= =?UTF-8?q?=E3=81=AE=E3=81=9F=E3=82=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/textlint.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/textlint.yaml b/.github/workflows/textlint.yaml index e0dda8f..34d3d62 100644 --- a/.github/workflows/textlint.yaml +++ b/.github/workflows/textlint.yaml @@ -2,9 +2,9 @@ name: "日本語のlintをかける" on: pull_request: - paths: - - contents/*.md - - README.md + #paths: + # - contents/*.md + # - README.md jobs: textlint: From fe09167f16c7185d0a0a17a281afa4f1ad045076 Mon Sep 17 00:00:00 2001 From: kei-s16 Date: Fri, 16 Aug 2024 14:29:43 +0900 Subject: [PATCH 6/6] =?UTF-8?q?Revert=20"=E5=8B=95=E4=BD=9C=E7=A2=BA?= =?UTF-8?q?=E8=AA=8D=E3=81=AE=E3=81=9F=E3=82=81"?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This reverts commit ef6d6187deda1f6b3f8dd5d34cace5c3d4f189e4. --- .github/workflows/textlint.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/textlint.yaml b/.github/workflows/textlint.yaml index 34d3d62..e0dda8f 100644 --- a/.github/workflows/textlint.yaml +++ b/.github/workflows/textlint.yaml @@ -2,9 +2,9 @@ name: "日本語のlintをかける" on: pull_request: - #paths: - # - contents/*.md - # - README.md + paths: + - contents/*.md + - README.md jobs: textlint: