Bump nhsuk-frontend from 10.4.1 to 10.4.2 in the application group #623
Workflow file for this run
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: Tests | |
| on: pull_request | |
| jobs: | |
| tests: | |
| name: Javascript tests | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| node: ['22', '24'] | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - uses: actions/setup-node@v6 | |
| with: | |
| node-version: ${{ matrix.node }} | |
| cache: 'npm' | |
| - name: Install dependencies | |
| run: npm ci | |
| - name: Run javascript tests | |
| run: npm run test:ci | |
| - name: Test resolving entry paths | |
| run: | | |
| node --eval "console.log(require.resolve('nhsuk-prototype-kit'))" --conditions import | |
| node --eval "console.log(require.resolve('nhsuk-prototype-kit/utils'))" --conditions import | |
| node --eval "console.log(require.resolve('nhsuk-prototype-kit/utils/find-available-port.js'))" --conditions import | |
| node --eval "console.log(require.resolve('nhsuk-prototype-kit'))" | |
| node --eval "console.log(require.resolve('nhsuk-prototype-kit/utils'))" | |
| node --eval "console.log(require.resolve('nhsuk-prototype-kit/utils/find-available-port.js'))" |