refactor actions
This commit is contained in:
parent
433505df48
commit
403b82277c
2 changed files with 15 additions and 11 deletions
10
.github/workflows/lint.yml
vendored
10
.github/workflows/lint.yml
vendored
|
|
@ -14,12 +14,12 @@ jobs:
|
|||
- uses: actions/checkout@v2
|
||||
with:
|
||||
submodules: true
|
||||
- uses: actions/setup-node@v1
|
||||
- uses: actions/setup-node@v3
|
||||
with:
|
||||
node-version: 16.x
|
||||
- uses: actions/cache@v2
|
||||
with:
|
||||
path: '**/node_modules'
|
||||
key: ${{ runner.os }}-modules-${{ hashFiles('**/yarn.lock') }}
|
||||
cache: 'yarn'
|
||||
cache-dependency-path: |
|
||||
src/packages/backend/yarn.lock
|
||||
src/packages/client/yarn.lock
|
||||
- run: yarn install
|
||||
- run: yarn lint
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue