Skip to content

chore: add actions for checks and enable analytics in docs #12

chore: add actions for checks and enable analytics in docs

chore: add actions for checks and enable analytics in docs #12

Workflow file for this run

name: Docs
on:
pull_request:
branches:
- "main"
paths-ignore:
- "packages/**"
- ".vscode/*"
- "README.md"
- "LICENSE"
- "CODE_OF_CONDUCT.md"
concurrency:
group: docs-${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
env:
WORKING_DIRECTORY: "docs"
jobs:
typecheck:
name: "Typecheck"
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup
uses: ./.github/actions/setup
with:
working-directory: ${{ env.WORKING_DIRECTORY }}
- shell: bash
working-directory: ${{ env.WORKING_DIRECTORY }}
run: yarn typecheck
lint:
name: "Lint"
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup
uses: ./.github/actions/setup
with:
working-directory: ${{ env.WORKING_DIRECTORY }}
- shell: bash
working-directory: ${{ env.WORKING_DIRECTORY }}
run: yarn lint
format:
name: "Format"
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup
uses: ./.github/actions/setup
with:
working-directory: ${{ env.WORKING_DIRECTORY }}
- shell: bash
working-directory: ${{ env.WORKING_DIRECTORY }}
run: yarn format
build:
name: "Build"
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup
uses: ./.github/actions/setup
with:
working-directory: ${{ env.WORKING_DIRECTORY }}
- shell: bash
working-directory: ${{ env.WORKING_DIRECTORY }}
run: yarn build