Merge pull request #536 from cornell-dti/aq/similarity-on #2222
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: CI | |
| on: push | |
| jobs: | |
| build: | |
| runs-on: ubuntu-22.04 | |
| steps: | |
| - uses: actions/checkout@master | |
| - name: Set up Node | |
| uses: actions/setup-node@v3 | |
| with: | |
| node-version: 18 | |
| - name: Install | |
| run: yarn | |
| - name: Lint | |
| run: yarn lint | |
| - name: Build Server | |
| run: yarn workspace server build | |
| - name: Build Website Bundle | |
| # temporarily disable CI flag to let warning not to fail the build | |
| run: CI=false yarn workspace client build | |
| - name: Test | |
| run: yarn workspace server test | |
| env: | |
| OPENAI_API_KEY: "${{ secrets.OPENAI_API_KEY }}" |