use yarn cache also for lint workflow
parent
9210d21f9e
commit
2688fe97be
|
@ -24,7 +24,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