ci: P2 optimizations — split PR workflow, deduplicate lint, add webpa… #11
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: verify_branch | |
| on: | |
| push: | |
| branches: | |
| - '**' | |
| - '!master' | |
| - '!development' | |
| - '!v4_main' | |
| - '!v4_development' | |
| jobs: | |
| build_and_unit_test: | |
| runs-on: ubuntu-24.04 | |
| steps: | |
| # On push events, actions/checkout checks out the branch directly (no merge with a target branch). | |
| # This only verifies the branch in isolation, unlike pull_request events which test a merge commit. | |
| - uses: actions/checkout@v4 | |
| - name: Setup dash.js | |
| uses: ./.github/actions/setup-dashjs | |
| - name: Build and run unit tests | |
| run: npm run build |