name: Lint - packages/website

on:
  pull_request:
    paths:
      - packages/website/**

defaults:
  run:
    working-directory: packages/website

jobs:
  build:
    runs-on: ubuntu-latest

    steps:
      - uses: actions/checkout@v2
      - uses: actions/setup-node@v2
        with:
          node-version: 16.x

      - run: yarn
      - run: yarn prettier --check .