Skip to content

Bump nhsuk-frontend from 10.4.1 to 10.4.2 in the application group #623

Bump nhsuk-frontend from 10.4.1 to 10.4.2 in the application group

Bump nhsuk-frontend from 10.4.1 to 10.4.2 in the application group #623

Workflow file for this run

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'))"