diff --git a/.github/workflows/pull-request.yml b/.github/workflows/pull-request.yml index 6bf978708..f3b136a82 100644 --- a/.github/workflows/pull-request.yml +++ b/.github/workflows/pull-request.yml @@ -3,21 +3,17 @@ name: Pull request on: pull_request jobs: - build: - name: Pull request + sonar_analysis: + name: Sonar analysis runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v4 - + - uses: actions/checkout@v2 - uses: actions/setup-node@v4 with: node-version: 20 cache: 'npm' - - name: Install dependencies run: npm ci - - name: Sonar analysis uses: sonarsource/sonarcloud-github-action@master with: @@ -27,11 +23,46 @@ jobs: SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} SONAR_HOST_URL: ${{ secrets.SONAR_HOST_URL }} + linting: + name: Code style checks + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - uses: actions/setup-node@v4 + with: + node-version: 20 + cache: 'npm' + - name: Install dependencies + run: npm ci - name: Run linting run: npm run lint + tests: + name: Javascript unit tests + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - uses: actions/setup-node@v4 + with: + node-version: 20 + cache: 'npm' + - name: Install dependencies + run: npm ci - name: Run tests run: npm test + ui_tests: + name: Visual regression tests + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - uses: actions/setup-node@v4 + with: + node-version: 20 + cache: 'npm' + - name: Install dependencies + run: npm ci + - name: Run tests + run: npm test - name: Run backstop run: npm run backstop:ci diff --git a/CHANGELOG.md b/CHANGELOG.md index 547fe4fe5..4ccd3034c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,9 +1,14 @@ # NHS.UK frontend Changelog -## Unreleased +## 9.1.0 - 4 November 2024 + +:new: **New features** + +- Add task list component ([PR 969](https://github.com/nhsuk/nhsuk-frontend/pull/969)) :wrench: **Fixes** +- Fix navigation items not flowing into the overflow drop-down menu on desktop ([PR 1062](https://github.com/nhsuk/nhsuk-frontend/pull/1062)) - Update header styles so that `.nhsuk-header__search-no-nav` class is no longer needed when header contains a search field but no navigation ([PR 1046](https://github.com/nhsuk/nhsuk-frontend/pull/1046)) - Update navigation list item padding to vertically align navigation items with width container ([PR 1033](https://github.com/nhsuk/nhsuk-frontend/pull/1033)) diff --git a/app/components/task-list/index.njk b/app/components/task-list/index.njk new file mode 100644 index 000000000..e57850209 --- /dev/null +++ b/app/components/task-list/index.njk @@ -0,0 +1,81 @@ +{% set html_style = 'background-color: #f0f4f5;' %} +{% set title = 'Task list' %} +{% from 'components/task-list/macro.njk' import taskList %} +{% extends 'layout.njk' %} + +{% block body %} + +