GOATS-758 GOATS-759: Improve python CI and update dependencies. (#341) #408
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 JS Tests | |
| on: | |
| pull_request: | |
| paths: | |
| - "src/goats_tom/static/js/**/*.js" | |
| - "js_tests/**/*.js" | |
| push: | |
| branches: | |
| - main | |
| jobs: | |
| run_js_tests: | |
| runs-on: ${{ matrix.os }} | |
| defaults: | |
| run: | |
| shell: bash -l {0} | |
| strategy: | |
| matrix: | |
| os: [ubuntu-latest] | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| - name: Setup Node.js | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: latest | |
| - name: Install JS dependencies | |
| run: npm install | |
| - name: Run JS tests | |
| run: npm test |