From ad1136c3997b12eece99a2627d1c701ad3f72af0 Mon Sep 17 00:00:00 2001 From: Jun Shindo <46585162+jay-es@users.noreply.github.com> Date: Wed, 5 Apr 2023 17:27:22 +0900 Subject: [PATCH] =?UTF-8?q?CI=20=E8=A8=AD=E5=AE=9A=E5=A4=89=E6=9B=B4=20(#1?= =?UTF-8?q?285)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * CI 設定変更 * corepack --- .github/workflows/ja.yaml | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ja.yaml b/.github/workflows/ja.yaml index 35875e017..33d3730bc 100644 --- a/.github/workflows/ja.yaml +++ b/.github/workflows/ja.yaml @@ -1,6 +1,10 @@ name: textlint -on: [push, pull_request] +on: + push: + branches: + - main + pull_request: jobs: textlint: @@ -8,10 +12,11 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 - - uses: actions/setup-node@v2 + - uses: actions/checkout@v3 + - uses: actions/setup-node@v3 with: - node-version: '14' + node-version: 18 + - run: corepack enable pnpm - name: Install deps run: npx pnpm i - name: Run textlint