Files
react/compiler/.github/workflows/react.yml
T
Joe Savona 48e0c70292 Rename babel plugin
ghstack-source-id: bb66913e2d3c814696311371ed655f3da03d1199
Pull Request resolved: https://github.com/facebook/react-forget/pull/2926
2024-05-02 14:12:33 -07:00

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