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