Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update all dependencies using Dependabot #613

Merged
merged 5 commits into from
Jan 18, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
72 changes: 72 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,72 @@
version: 2

updates:
# Update npm packages
- package-ecosystem: npm
directory: /
open-pull-requests-limit: 10

# Group packages into shared PR
groups:
build:
patterns:
- '@babel/*'
- 'babel-*'
- 'core-js'
- 'csso-cli'
- 'preact'
- 'source-map-loader'
- 'terser-*'
- 'webpack'
- 'webpack-*'

test:
patterns:
- '@wdio/*'
- 'chai'
- 'devtools'
- 'karma'
- 'karma-*'
- 'mocha'
- 'puppeteer'
- 'standard'
- 'webdriverio'

tools:
patterns:
- 'chalk'
- 'cross-env'
- 'dotenv'
- 'husky'
- 'npm-run-all'

reviewers:
- alphagov/design-system-developers

# Schedule run on 1st of every month, local time
schedule:
interval: monthly
time: '10:30'
timezone: 'Europe/London'

versioning-strategy: increase

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

# Include indirect browser data updates
# https://caniuse.com
- dependency-name: caniuse-lite

# Update GitHub Actions
- package-ecosystem: github-actions
directory: /
reviewers:
- alphagov/design-system-developers

# Schedule run on 1st of every month, local time
schedule:
interval: monthly
time: '10:30'
timezone: 'Europe/London'
6 changes: 5 additions & 1 deletion .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,10 @@ jobs:
- name: Functional tests (Chromium)
run: npm run karma

# Run linter last so other tests run even if there is a code formatting error
# Run linter after tests to prevent failure due to code formatting error
- name: Lint
run: npm run standard

# Run check for `npm run build` unstaged changes
- name: Check for unstaged changes
run: node scripts/check-staged.mjs