feat: add typecheck to pr build workflow (#202)
This commit is contained in:
1 parent
d924f581f3
commit
616fb00ded
1 file changed
+5
-2
@@ -4,7 +4,7 @@ on:
|
||||
pull_request:
|
||||
|
||||
jobs:
|
||||
build:
|
||||
build:
|
||||
name: Build PR
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
@@ -38,6 +38,9 @@ jobs:
|
||||
restore-keys: |
|
||||
${{ runner.os }}-docusaurus-en-${{ hashFiles('**/yarn.lock') }}
|
||||
|
||||
- name: Typecheck
|
||||
run: yarn typecheck
|
||||
|
||||
- name: Build website
|
||||
run: yarn build --locale en
|
||||
env:
|
||||
@@ -47,4 +50,4 @@ jobs:
|
||||
- name: Upload artifact
|
||||
uses: actions/upload-pages-artifact@7b1f4a764d45c48632c6b24a0339c27f5614fb0b
|
||||
with:
|
||||
path: build
|
||||
path: build
|
||||
Reference in new issue
Block a user