Skip to content

Commit

Permalink
Merge pull request #839 from afuetterer/update-js-dependencies
Browse files Browse the repository at this point in the history
build: batch update javascript dependencies
  • Loading branch information
afuetterer authored Dec 1, 2023
2 parents f7af042 + 7d75993 commit 3045403
Show file tree
Hide file tree
Showing 7 changed files with 3,485 additions and 2,585 deletions.
5 changes: 5 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,10 @@ updates:
- dependencies
- javascript
- type:maintenance
ignore:
- dependency-name: react-bootstrap # rdmo still uses bootstrap 3, which is not supported by react-bootstrap > 0.33.1
- dependency-name: "*"
update-types: ["version-update:semver-patch"] # ignore patch versions for all JavaScript dependencies
groups:
react:
patterns:
Expand All @@ -68,6 +72,7 @@ updates:
webpack:
patterns:
- webpack*
- copy-webpack-plugin
eslint:
patterns:
- eslint*
Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -110,12 +110,18 @@ jobs:
npm run build:prod
playwright install chromium
if: matrix.python-version == '3.12' && matrix.db-backend == 'postgres'
- run: mkdir screenshots
- name: Run end-to-end tests
run: pytest -p randomly -p no:cacheprovider --reuse-db --numprocesses=auto --dist=loadscope -m e2e --nomigrations
if: matrix.python-version == '3.12' && matrix.db-backend == 'postgres'
env:
DJANGO_DEBUG: True
GITHUB_DB_BACKEND: ${{ matrix.db-backend }}
- uses: actions/upload-artifact@v3
with:
name: screenshots
path: screenshots/*.png
if: matrix.python-version == '3.12' && matrix.db-backend == 'postgres'

coveralls:
name: Indicate completion to coveralls
Expand Down
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -35,3 +35,5 @@ dist
.on-save.json

rdmo/management/static

screenshots
4 changes: 2 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,6 @@ repos:
- id: eslint
args: [--fix, --color]
additional_dependencies:
- eslint@8.41.0
- eslint-plugin-react@7.32.2
- eslint@8.54.0
- eslint-plugin-react@7.33.2
- [email protected]
Loading

0 comments on commit 3045403

Please sign in to comment.