26 lines
487 B
YAML
26 lines
487 B
YAML
name: Static Code Analysis
|
|
|
|
on: [pull_request]
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
|
|
strategy:
|
|
matrix:
|
|
package: [dashboard, dnslink-api, handshake-api, health-check, website]
|
|
fail-fast: false
|
|
|
|
defaults:
|
|
run:
|
|
working-directory: packages/${{ matrix.package }}
|
|
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
- uses: actions/setup-node@v2
|
|
with:
|
|
node-version: 16.x
|
|
|
|
- run: yarn
|
|
- run: yarn prettier --check .
|