Files
react/compiler/.github/workflows/ci.yml
T
Lauren Tan 6b242c12a9 [ci] Don't run yarn build in ci
Can't recall why we added this, but it shouldn't be necessary and should shave 
off ~2 mins from ci
2023-08-16 12:16:51 -04:00

27 lines
640 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
- name: cache node_modules
uses: actions/cache@v3
with:
path: "**/node_modules"
key: ${{ runner.arch }}-${{ runner.os }}-modules-${{ hashFiles('**/yarn.lock') }}
- run: yarn install --frozen-lockfile
working-directory: forget
- run: yarn test
working-directory: forget