mirror of
https://github.com/BigBodyCobain/Shadowbroker.git
synced 2026-12-06 01:24:28 +01:00
Keep React and React DOM upgrades synchronized
This commit is contained in:
1 parent
50be1c2402
commit
cd8b8a0d50
4 files changed
+32
-11
No files matched your search
@@ -4,6 +4,21 @@ updates:
|
||||
directory: "/frontend"
|
||||
schedule:
|
||||
interval: "weekly"
|
||||
groups:
|
||||
react-runtime:
|
||||
applies-to: version-updates
|
||||
patterns:
|
||||
- "react"
|
||||
- "react-dom"
|
||||
- "@types/react"
|
||||
- "@types/react-dom"
|
||||
react-runtime-security:
|
||||
applies-to: security-updates
|
||||
patterns:
|
||||
- "react"
|
||||
- "react-dom"
|
||||
- "@types/react"
|
||||
- "@types/react-dom"
|
||||
- package-ecosystem: "pip"
|
||||
directory: "/backend"
|
||||
schedule:
|
||||
|
||||
@@ -44,6 +44,12 @@ jobs:
|
||||
cache: npm
|
||||
cache-dependency-path: frontend/package-lock.json
|
||||
- run: npm ci
|
||||
- name: Check React runtime versions match
|
||||
run: >-
|
||||
node -e "const react = require('react/package.json').version;
|
||||
const dom = require('react-dom/package.json').version;
|
||||
if (react !== dom) throw new Error('React runtime mismatch: react=' + react + ', react-dom=' + dom);
|
||||
console.log('React and React DOM match: ' + react);"
|
||||
- name: Audit production dependencies
|
||||
run: npm audit --omit=dev --audit-level=high
|
||||
- name: Test development credential bootstrap
|
||||
|
||||
Reference in new issue
Block a user