truncate data in datapoints and eval-datapoints #21
Workflow file for this run
This file contains 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: Check Frontend Build | |
on: | |
pull_request: | |
types: | |
- synchronize | |
- opened | |
- reopened | |
paths: | |
- 'frontend/**' # Trigger only if files in the `/frontend` directory change | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
# Step 1: Checkout the code | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
# Step 2: Install pnpm | |
- name: Install pnpm | |
uses: pnpm/action-setup@v4 | |
with: | |
version: 9 | |
# Step 3: Set up Node.js | |
- name: Set up Node.js | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 'lts/*' # Use the latest LTS version of Node.js | |
cache: 'pnpm' | |
# Specify the subdirectory containing the lockfile | |
cache-dependency-path: ./frontend/pnpm-lock.yaml | |
# Step 4: Install dependencies | |
- name: Install dependencies | |
working-directory: ./frontend | |
run: pnpm install | |
# Step 5: Run the build | |
- name: Build frontend | |
working-directory: ./frontend | |
run: pnpm build |