improve
This commit is contained in:
parent
48a9dd9a64
commit
93d43c1276
|
@ -8,15 +8,18 @@ jobs:
|
||||||
|
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
pacakge: [dashboard, dnslink-api, handshake-api, health-check, website]
|
package: [dashboard, dnslink-api, handshake-api, health-check, website]
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
|
|
||||||
|
defaults:
|
||||||
|
run:
|
||||||
|
working-directory: packages/${{ matrix.package }}
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
- uses: actions/setup-node@v2
|
- uses: actions/setup-node@v2
|
||||||
with:
|
with:
|
||||||
node-version: 16.x
|
node-version: 16.x
|
||||||
|
|
||||||
- name: Static code analysis for ${{ matrix.package }}
|
- run: yarn
|
||||||
working-directory: packages/${{ matrix.package }}
|
- run: yarn prettier --check .
|
||||||
run: yarn && yarn prettier --check .
|
|
||||||
|
|
Reference in New Issue