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,13 +8,7 @@ on: pull_request: jobs: - lint: - strategy: - matrix: - workspace: - - backend - - client - - sw + yarn_install: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 @@ -27,4 +21,26 @@ jobs: 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 + 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 - run: yarn workspace ${{ matrix.workspace }} run lint