Summary: Pull Request resolved: https://github.com/facebook/yoga/pull/1335 Reviewed By: christophpurrer Differential Revision: D47459866 fbshipit-source-id: fd6b4e4e2518d91968ac7180b32129b3f70edf88
42 lines
743 B
YAML
42 lines
743 B
YAML
name: Website (Next)
|
|
|
|
on:
|
|
pull_request:
|
|
push:
|
|
branches:
|
|
- main
|
|
workflow_dispatch:
|
|
|
|
build:
|
|
name: Build
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
|
|
- name: Setup
|
|
uses: ./.github/actions/setup-js
|
|
|
|
- name: Build Yoga
|
|
run: yarn build
|
|
working-directory: javascript
|
|
|
|
- name: Build Website
|
|
run: yarn build
|
|
working-directory: website-next
|
|
|
|
typecheck:
|
|
name: Typecheck
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
|
|
- name: yarn install
|
|
run: yarn install --frozen-lockfile
|
|
working-directory: javascript
|
|
|
|
- name: yarn tsc
|
|
run: yarn tsc
|
|
working-directory: website-next
|