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
|
|
|
|
|
2021-07-26 12:41:17 +00:00
|
|
|
strategy:
|
|
|
|
matrix:
|
|
|
|
pacakge: [dashboard, dnslink-api, handshake-api, health-check, website]
|
|
|
|
fail-fast: false
|
|
|
|
|
2021-06-17 12:40:02 +00:00
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v2
|
|
|
|
- uses: actions/setup-node@v2
|
|
|
|
with:
|
|
|
|
node-version: 16.x
|
|
|
|
|
2021-07-26 12:41:17 +00:00
|
|
|
- name: Static code analysis for ${{ matrix.package }}
|
|
|
|
working-directory: packages/${{ matrix.package }}
|
2021-07-26 12:35:01 +00:00
|
|
|
run: yarn && yarn prettier --check .
|