Skip to content

Commit

Permalink
Merge pull request #4377 from alphagov/dependabot-caniuse
Browse files Browse the repository at this point in the history
  • Loading branch information
colinrotherham authored Oct 25, 2023
2 parents 924b331 + 9e9dd47 commit c5e45d7
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 16 deletions.
9 changes: 4 additions & 5 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,13 +77,12 @@ updates:
versioning-strategy: increase

allow:
# Include direct package.json updates
- dependency-type: direct

ignore:
# Ignore major updates (causes `stylelint-config-gds` peer dependency conflict)
# See pull request: https://github.com/alphagov/stylelint-config-gds/pull/32
- dependency-name: stylelint
update-types: ['version-update:semver-major']
# Include indirect browser data updates
# https://caniuse.com
- dependency-name: caniuse-lite

# Update GitHub Actions
- package-ecosystem: github-actions
Expand Down
14 changes: 3 additions & 11 deletions docs/releasing/publishing.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,26 +35,18 @@ Developers should pair on releases. When remote working, it can be useful to be

Do not commit the changes.

7. Update browser data from ["Can I use"](https://caniuse.com) by running:

```shell
npx update-browserslist-db@latest
```

This step will update the project [`package-lock.json`](/package-lock.json) file if updates are found.

8. Run `npm run build-release` to:
7. Run `npm run build-release` to:

- build GOV.UK Frontend into the [`/package`](/package) and [`/dist`](/dist) directories
- commit the changes
- push a branch to GitHub

You will now be prompted to continue or cancel.

9. Create a pull request and copy the changelog text.
8. Create a pull request and copy the changelog text.
When reviewing the PR, check that the version numbers have been updated and that the compiled assets use this version number.

10. Once a reviewer approves the pull request, merge it to **main**.
9. Once a reviewer approves the pull request, merge it to **main**.

## Publish a release to npm

Expand Down

0 comments on commit c5e45d7

Please sign in to comment.