improve static code analysis
This commit is contained in:
parent
f204487832
commit
48a9dd9a64
|
@ -6,28 +6,17 @@ jobs:
|
||||||
build:
|
build:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
|
strategy:
|
||||||
|
matrix:
|
||||||
|
pacakge: [dashboard, dnslink-api, handshake-api, health-check, website]
|
||||||
|
fail-fast: false
|
||||||
|
|
||||||
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: handshake-api"
|
- name: Static code analysis for ${{ matrix.package }}
|
||||||
working-directory: packages/handshake-api
|
working-directory: packages/${{ matrix.package }}
|
||||||
run: yarn && yarn prettier --check .
|
|
||||||
|
|
||||||
- name: "Static code analysis: health-check"
|
|
||||||
working-directory: packages/health-check
|
|
||||||
run: yarn && yarn prettier --check .
|
|
||||||
|
|
||||||
- name: "Static code analysis: website"
|
|
||||||
working-directory: packages/website
|
|
||||||
run: yarn && yarn prettier --check .
|
|
||||||
|
|
||||||
- name: "Static code analysis: dashboard"
|
|
||||||
working-directory: packages/dashboard
|
|
||||||
run: yarn && yarn prettier --check .
|
|
||||||
|
|
||||||
- name: "Static code analysis: dnslink-api"
|
|
||||||
working-directory: packages/dnslink-api
|
|
||||||
run: yarn && yarn prettier --check .
|
run: yarn && yarn prettier --check .
|
||||||
|
|
Reference in New Issue