use yarn cache also for lint workflow
parent
60377d519b
commit
a520895ad7
|
@ -28,7 +28,7 @@ jobs:
|
|||
with:
|
||||
submodules: recursive
|
||||
- run: git submodule absorbgitdirs
|
||||
- uses: actions/setup-node@v2.2.0
|
||||
- uses: actions/setup-node@v2
|
||||
with:
|
||||
node-version: '14'
|
||||
cache: yarn
|
||||
|
|
|
@ -12,7 +12,11 @@ jobs:
|
|||
lint:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v1
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/setup-node@v2
|
||||
with:
|
||||
node-version: '14'
|
||||
cache: yarn
|
||||
- run: yarn install
|
||||
- run: yarn run lint
|
||||
- run: yarn run check-format
|
||||
|
|
Loading…
Reference in New Issue