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:
|
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
|
||||||
Reference in new issue
Block a user