ci: job dependencies
This commit is contained in:
parent
d57f611438
commit
687da3259b
1 changed files with 3 additions and 0 deletions
3
.github/workflows/nodejs.yml
vendored
3
.github/workflows/nodejs.yml
vendored
|
@ -29,6 +29,7 @@ jobs:
|
|||
run: yarn
|
||||
lint:
|
||||
runs-on: ubuntu-latest
|
||||
needs: dependencies
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
|
@ -45,6 +46,7 @@ jobs:
|
|||
- run: yarn lint
|
||||
test:
|
||||
runs-on: ubuntu-latest
|
||||
needs: dependencies
|
||||
|
||||
strategy:
|
||||
matrix:
|
||||
|
@ -72,6 +74,7 @@ jobs:
|
|||
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
needs: dependencies
|
||||
strategy:
|
||||
matrix:
|
||||
node-version: [14, 16, 18]
|
||||
|
|
Reference in a new issue