2021-06-17 12:40:02 +00:00
|
|
|
name: Static Code Analysis
|
|
|
|
|
|
|
|
on: [pull_request]
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
build:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
|
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v2
|
|
|
|
- uses: actions/setup-node@v2
|
|
|
|
with:
|
|
|
|
node-version: 16.x
|
|
|
|
|
|
|
|
- name: "Static code analysis: handshake-api"
|
2021-07-26 12:35:01 +00:00
|
|
|
working-directory: packages/handshake-api
|
|
|
|
run: yarn && yarn prettier --check .
|
2021-06-17 12:40:02 +00:00
|
|
|
|
|
|
|
- name: "Static code analysis: health-check"
|
2021-07-26 12:35:01 +00:00
|
|
|
working-directory: packages/health-check
|
|
|
|
run: yarn && yarn prettier --check .
|
2021-06-17 12:40:02 +00:00
|
|
|
|
|
|
|
- name: "Static code analysis: website"
|
2021-07-26 12:35:01 +00:00
|
|
|
working-directory: packages/website
|
|
|
|
run: yarn && yarn prettier --check .
|
2021-06-17 12:40:02 +00:00
|
|
|
|
|
|
|
- name: "Static code analysis: dashboard"
|
2021-07-26 12:35:01 +00:00
|
|
|
working-directory: packages/dashboard
|
|
|
|
run: yarn && yarn prettier --check .
|
2021-06-25 12:05:36 +00:00
|
|
|
|
|
|
|
- name: "Static code analysis: dnslink-api"
|
2021-07-26 12:35:01 +00:00
|
|
|
working-directory: packages/dnslink-api
|
|
|
|
run: yarn && yarn prettier --check .
|