2.0 Release Blog #801
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build Website | |
on: | |
push: | |
branches: | |
- "main" | |
pull_request: | |
branches: | |
- main | |
jobs: | |
check-for-pngs: | |
name: Check for PNGs | |
runs-on: ubuntu-latest | |
timeout-minutes: 5 | |
steps: | |
- name: Checkout Repository | |
uses: actions/checkout@v4 | |
- name: Check for PNGs | |
run: python ./.github/scripts/check-for-pngs.py | |
docusaurus-build: | |
name: Docusaurus Build | |
runs-on: ubuntu-latest | |
needs: check-for-pngs | |
timeout-minutes: 5 | |
steps: | |
- name: Checkout Repository | |
uses: actions/checkout@v4 | |
- name: Setup Node | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 16 | |
cache: "yarn" | |
- name: Install Dependencies | |
run: yarn install --frozen-lockfile | |
- name: Check Formatting | |
run: yarn prettier --check . | |
- name: Build Site | |
run: yarn build |