Unify ESLint and Prettier across xplat/yoga
(#1335)
Summary: Pull Request resolved: https://github.com/facebook/yoga/pull/1335 Reviewed By: christophpurrer Differential Revision: D47459866 fbshipit-source-id: fd6b4e4e2518d91968ac7180b32129b3f70edf88
This commit is contained in:
committed by
Facebook GitHub Bot
parent
05b2edfb85
commit
44507ec62e
2
.github/workflows/validate-cpp.yml
vendored
2
.github/workflows/validate-cpp.yml
vendored
@@ -64,5 +64,3 @@ jobs:
|
||||
|
||||
- name: clang-format
|
||||
uses: ./.github/actions/clang-format
|
||||
with:
|
||||
directory: ./yoga
|
||||
|
18
.github/workflows/validate-js.yml
vendored
18
.github/workflows/validate-js.yml
vendored
@@ -60,7 +60,19 @@ jobs:
|
||||
working-directory: javascript
|
||||
|
||||
lint:
|
||||
name: Lint
|
||||
name: ESLint (All Packages)
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
|
||||
- name: yarn install
|
||||
run: yarn install --frozen-lockfile
|
||||
|
||||
- name: yarn lint
|
||||
run: yarn lint
|
||||
|
||||
typecheck:
|
||||
name: Typecheck
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
@@ -69,8 +81,8 @@ jobs:
|
||||
run: yarn install --frozen-lockfile
|
||||
working-directory: javascript
|
||||
|
||||
- name: yarn lint
|
||||
run: yarn lint
|
||||
- name: yarn tsc
|
||||
run: yarn tsc
|
||||
working-directory: javascript
|
||||
|
||||
pack:
|
||||
|
41
.github/workflows/validate-website-next.yml
vendored
Normal file
41
.github/workflows/validate-website-next.yml
vendored
Normal file
@@ -0,0 +1,41 @@
|
||||
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
|
Reference in New Issue
Block a user