This repository has been archived on 2022-10-07. You can view files and clone it, but cannot push or open issues or pull requests.
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: Install dependencies
|
|
|
|
run: yarn
|
|
|
|
|
|
|
|
- name: "Static code analysis: handshake-api"
|
|
|
|
run: yarn workspace handshake-api prettier --check .
|
|
|
|
|
|
|
|
- name: "Static code analysis: health-check"
|
|
|
|
run: yarn workspace health-check prettier --check .
|
|
|
|
|
|
|
|
- name: "Static code analysis: website"
|
|
|
|
run: yarn workspace website prettier --check .
|
|
|
|
|
|
|
|
- name: "Static code analysis: dashboard"
|
|
|
|
run: yarn workspace dashboard prettier --check .
|
2021-06-25 12:05:36 +00:00
|
|
|
|
|
|
|
- name: "Static code analysis: dnslink-api"
|
|
|
|
run: yarn workspace dnslink-api prettier --check .
|