mirror of
https://github.com/BigBodyCobain/Shadowbroker.git
synced 2026-12-05 17:13:45 +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
@@ -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