mirror of
https://github.com/facebook/react.git
synced 2026-02-26 18:58:05 +00:00
Sorry about the thrash in advance! This removes the top level `forget` directory which adds unnecessary nesting to our repo Hopefully everything still works
24 lines
541 B
YAML
24 lines
541 B
YAML
name: react
|
|
|
|
on:
|
|
push:
|
|
branches: [main]
|
|
pull_request:
|
|
|
|
jobs:
|
|
test:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
- uses: actions/setup-node@v3
|
|
with:
|
|
node-version: 18.x
|
|
cache: "yarn"
|
|
cache-dependency-path: yarn.lock
|
|
- run: yarn install --frozen-lockfile
|
|
- run: yarn workspace babel-plugin-react-forget run build
|
|
- run: yarn install --frozen-lockfile
|
|
working-directory: react
|
|
- run: yarn test --ci
|
|
working-directory: react
|