name: Docs on: workflow_dispatch: push: branches: ["main"] paths: - docs/** pull_request: branches: ["main"] paths: - docs/** jobs: build: runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 lint: runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 - name: Setup Node uses: actions/setup-node@v3 with: cache: yarn cache-dependency-path: docs/yarn.lock node-version: 16 - name: Install working-directory: ./docs run: | yarn install --frozen-lockfile - name: Lint working-directory: ./docs run: | yarn lint test: runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 integration_tests: runs-on: ubuntu-latest steps: - uses: actions/checkout@v3