Files
react/.github/workflows/react.yml
Jan Kassens 55d6c6efaa CI: move .github directory back to root (#2941)
We need this in the root to run the steps. It should merge cleanly with the React repo as there is no file name overlap.

Next step is to update the paths to make it work again.
2024-05-07 11:03:44 -04: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