Files
react/compiler/.github/workflows/ci.yml
T
Lauren Tan 40d1459115 Scaffold workspaces
![image](https://github.com/facebook/react-forget/assets/1390709/bb27e33f-6a88-4b71-8ce2-aeb8db0372f7) 

This is an attempt to scaffold yarn workspaces into our repo with as minimal as 
possible changes to our current setup and directory structure. Essentially this 
PR moves current `src` into `packages/babel-plugin-react-forget` as a first step 
to keep everything working. Later on when we're ready we can split out a 
`react-compiler` package that is decoupled from Babel, but it's too early for 
that now
2023-06-05 13:35:39 -04:00

30 lines
943 B
YAML

name: CI
on:
push:
branches: [main]
pull_request:
jobs:
forget:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 18.x
cache: "yarn"
cache-dependency-path: forget/yarn.lock
- run: yarn install --immutable --immutable-cache
working-directory: forget
- run: yarn workspace babel-plugin-react-forget run prettier:ci
working-directory: forget
- run: yarn workspace babel-plugin-react-forget run build
working-directory: forget
- run: yarn workspace babel-plugin-react-forget run lint
working-directory: forget
- run: yarn workspace babel-plugin-react-forget run test
working-directory: forget
- run: yarn workspace babel-plugin-react-forget run snap:build && yarn workspace babel-plugin-react-forget run snap
working-directory: forget