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.
skynet-webportal/.github/workflows/static-code-analysis.yml

26 lines
487 B
YAML
Raw Permalink Normal View History

name: Static Code Analysis
on: [pull_request]
jobs:
build:
runs-on: ubuntu-latest
2021-07-26 12:41:17 +00:00
strategy:
matrix:
2021-07-26 12:42:33 +00:00
package: [dashboard, dnslink-api, handshake-api, health-check, website]
2021-07-26 12:41:17 +00:00
fail-fast: false
2021-07-26 12:42:33 +00:00
defaults:
run:
working-directory: packages/${{ matrix.package }}
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: 16.x
2021-07-26 12:42:33 +00:00
- run: yarn
- run: yarn prettier --check .