Summary: Pull Request resolved: https://github.com/facebook/yoga/pull/1612 Moving new website to `/website` before publishing, so that edit links point to the right eventual place in the GitHub repo. Reviewed By: joevilches Differential Revision: D54837808 fbshipit-source-id: 46de8a638ad9bce18558fd768ed8c080892b828e
43 lines
733 B
YAML
43 lines
733 B
YAML
name: Validate Website
|
|
|
|
on:
|
|
pull_request:
|
|
branches:
|
|
- main
|
|
push:
|
|
branches:
|
|
- main
|
|
workflow_dispatch:
|
|
|
|
jobs:
|
|
build_next:
|
|
name: Build
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
|
|
- name: Setup
|
|
uses: ./.github/actions/setup-js
|
|
|
|
- name: Restore emsdk
|
|
uses: ./.github/actions/cache-emsdk
|
|
|
|
- name: Build Website
|
|
run: yarn build
|
|
working-directory: website-next
|
|
|
|
typecheck:
|
|
name: Typecheck [Docusaurus]
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
|
|
- name: Setup
|
|
uses: ./.github/actions/setup-js
|
|
|
|
- name: yarn tsc
|
|
run: yarn tsc
|
|
working-directory: website-next
|