Skip to content

[BE] Enable UFMT on torchci in CI (#4700) #3488

[BE] Enable UFMT on torchci in CI (#4700)

[BE] Enable UFMT on torchci in CI (#4700) #3488

Workflow file for this run

name: torchci
on:
pull_request:
paths:
- "torchci/**"
- ".github/workflows/torchci.yml"
push:
branches:
- main
defaults:
run:
working-directory: torchci
jobs:
test:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v3
- run: yarn install --frozen-lockfile
- run: yarn lint
- name: yarn prettier --check .
run: |
yarn prettier --check . || (echo "Please run yarn format" && exit 1)
- run: yarn tsc
- run: yarn test
- run: yarn node scripts/checkRockset.mjs
env:
ROCKSET_API_KEY: ${{ secrets.ROCKSET_API_KEY }}