#VFB-227 - Apply queries grouping in the term info to the new VFB #193
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: Run ESLint | |
| on: | |
| push: | |
| branches: | |
| - main | |
| - development | |
| pull_request: | |
| branches: | |
| - main | |
| - development | |
| jobs: | |
| eslint: | |
| runs-on: ubuntu-latest | |
| steps: | |
| # Step 1: Checkout the repository | |
| - name: Checkout code | |
| uses: actions/checkout@v3 | |
| # Step 2: Set up Node.js | |
| - name: Set up Node.js | |
| uses: actions/setup-node@v3 | |
| with: | |
| node-version: '20' # Adjust the Node.js version as needed | |
| # Step 3: Install dependencies using Yarn | |
| - name: Install dependencies | |
| working-directory: applications/virtual-fly-brain/frontend | |
| run: yarn install | |
| # Step 4: Run ESLint (fails only on errors, allows warnings) | |
| - name: Run ESLint | |
| working-directory: applications/virtual-fly-brain/frontend | |
| run: yarn lint | |
| # Step 5: Build (optional - only run if lint passes) | |
| - name: Build application | |
| working-directory: applications/virtual-fly-brain/frontend | |
| run: yarn build |