mirror of
https://github.com/facebook/react.git
synced 2025-11-01 09:12:30 +00:00
48e0c70292
ghstack-source-id: bb66913e2d3c814696311371ed655f3da03d1199 Pull Request resolved: https://github.com/facebook/react-forget/pull/2926
28 lines
714 B
YAML
28 lines
714 B
YAML
name: react
|
|
|
|
on:
|
|
push:
|
|
branches: [main]
|
|
pull_request:
|
|
|
|
jobs:
|
|
test:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- uses: actions/setup-node@v4
|
|
with:
|
|
node-version: 18.x
|
|
cache: "yarn"
|
|
cache-dependency-path: yarn.lock
|
|
- run: yarn install --frozen-lockfile
|
|
- run: yarn workspace babel-plugin-react-compiler run build
|
|
- run: yarn link
|
|
working-directory: packages/babel-plugin-react-compiler
|
|
- run: yarn link babel-plugin-react-compiler
|
|
working-directory: react
|
|
- run: yarn install --frozen-lockfile
|
|
working-directory: react
|
|
- run: yarn test --ci
|
|
working-directory: react
|