GitHub Actions Test PR: Cache on Lint (#9289)
* update lint.yml * wip * fix * fix * continue-on-error: true
This commit is contained in:
parent
d9541a7db8
commit
214de03301
30
.github/workflows/lint.yml
vendored
30
.github/workflows/lint.yml
vendored
@ -8,13 +8,7 @@ on:
|
|||||||
pull_request:
|
pull_request:
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
lint:
|
yarn_install:
|
||||||
strategy:
|
|
||||||
matrix:
|
|
||||||
workspace:
|
|
||||||
- backend
|
|
||||||
- client
|
|
||||||
- sw
|
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
@ -27,4 +21,26 @@ jobs:
|
|||||||
cache: 'yarn'
|
cache: 'yarn'
|
||||||
- run: corepack enable
|
- run: corepack enable
|
||||||
- run: yarn install --immutable
|
- 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
|
- run: yarn workspace ${{ matrix.workspace }} run lint
|
||||||
|
Loading…
Reference in New Issue
Block a user