From 214de033016c4abda846093e649247ae94995f3f Mon Sep 17 00:00:00 2001 From: tamaina <tamaina@hotmail.co.jp> Date: Thu, 8 Dec 2022 03:18:15 +0900 Subject: [PATCH] GitHub Actions Test PR: Cache on Lint (#9289) * update lint.yml * wip * fix * fix * continue-on-error: true --- .github/workflows/lint.yml | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 50d86e696b..b5c801c642 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -8,14 +8,30 @@ on: pull_request: jobs: + yarn_install: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + with: + fetch-depth: 0 + submodules: true + - uses: actions/setup-node@v3.2.0 + with: + node-version: 18.x + cache: 'yarn' + - run: corepack enable + - run: yarn install --immutable + lint: + needs: [yarn_install] + runs-on: ubuntu-latest + continue-on-error: true strategy: matrix: workspace: - backend - client - sw - runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 with: -- GitLab