mirror of
https://github.com/zebrajr/react.git
synced 2026-01-15 12:15:22 +00:00
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.
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
|