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

23 lines
512 B
YAML

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