Merge pull request #4549 from Ivy-Interactive/4515-input-selection-st… #4460
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: Frontend Code Quality Checks | |
| permissions: | |
| contents: read | |
| on: | |
| push: | |
| branches: [main, development] | |
| paths: | |
| - "src/frontend/**" | |
| pull_request: | |
| branches: [main, development] | |
| paths: | |
| - "src/frontend/**" | |
| workflow_dispatch: | |
| jobs: | |
| frontend-checks: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| # Setup Node.js | |
| - uses: voidzero-dev/setup-vp@v1 | |
| - name: Install dependencies | |
| working-directory: ./src/frontend | |
| run: vp install | |
| # Frontend code quality checks | |
| - name: Check code formatting | |
| working-directory: ./src/frontend | |
| run: vp fmt --check . | |
| - name: Check linting | |
| working-directory: ./src/frontend | |
| run: vp lint . | |
| - name: Check frontend build | |
| working-directory: ./src/frontend | |
| run: vp build |