Skip to content

feat(OPE-521): chat UI for predict #48

feat(OPE-521): chat UI for predict

feat(OPE-521): chat UI for predict #48

name: Check Pull Request
on:
pull_request:
branches:
- '**' # Triggers on all branches
jobs:
lint:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: '20'
cache: 'yarn'
- name: Get yarn cache directory path
id: yarn-cache-dir-path
run: echo "dir=$(yarn cache dir)" >> $GITHUB_OUTPUT
- name: Cache dependencies
uses: actions/cache@v3
with:
path: |
${{ steps.yarn-cache-dir-path.outputs.dir }}
**/node_modules
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
restore-keys: |
${{ runner.os }}-yarn-
- name: Install dependencies
run: yarn install --frozen-lockfile
- name: Run Nx Lint
run: yarn nx run-many --target=lint --all --skip-nx-cache
- name: Test
run: yarn nx run-many --target=test --all --skip-nx-cache --passWithNoTests