feat: add typecheck to pr build workflow (#202)

This commit is contained in:
Olivia authored and GitHub committed 2026-10-17 11:44:07 -05:00
1 parent d924f581f3
commit 616fb00ded
1 file changed
+5 -2
+5 -2
View File
@@ -4,7 +4,7 @@ on:
pull_request: pull_request:
jobs: jobs:
build: build:
name: Build PR name: Build PR
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
@@ -38,6 +38,9 @@ jobs:
restore-keys: | restore-keys: |
${{ runner.os }}-docusaurus-en-${{ hashFiles('**/yarn.lock') }} ${{ runner.os }}-docusaurus-en-${{ hashFiles('**/yarn.lock') }}
- name: Typecheck
run: yarn typecheck
- name: Build website - name: Build website
run: yarn build --locale en run: yarn build --locale en
env: env:
@@ -47,4 +50,4 @@ jobs:
- name: Upload artifact - name: Upload artifact
uses: actions/upload-pages-artifact@7b1f4a764d45c48632c6b24a0339c27f5614fb0b uses: actions/upload-pages-artifact@7b1f4a764d45c48632c6b24a0339c27f5614fb0b
with: with:
path: build path: build