Skip to content

Commit

Permalink
Merge branch 'mvp-2' into CRDCDH-619
Browse files Browse the repository at this point in the history
  • Loading branch information
mtangmt authored Nov 21, 2023
2 parents 7f29579 + 5dc6d28 commit a87134b
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 1 deletion.
17 changes: 16 additions & 1 deletion .github/workflows/code-certify.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
name: Certify Changes

on:
workflow_dispatch:
pull_request:
branches: "*"
paths:
Expand All @@ -23,8 +24,22 @@ jobs:
- name: Checkout Repository
uses: actions/checkout@v3

- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: "18.x"
cache: "npm"

- name: Cache node modules
uses: actions/cache@v3
with:
path: node_modules
key: ${{ runner.os }}-modules-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-modules-
- name: Install Dependencies
run: npm ci --legacy-peer-deps
run: npm install --legacy-peer-deps

- name: Run Typecheck
run: npm run check:ci
Expand Down
2 changes: 2 additions & 0 deletions src/content/modelNavigator/hooks/useBuildReduxStore.ts
Original file line number Diff line number Diff line change
Expand Up @@ -63,12 +63,14 @@ const useBuildReduxStore = (): [{ status: Status, store: Store }, () => void, (a
}

store.dispatch({ type: 'RECEIVE_VERSION_INFO', data: response.version });

store.dispatch({
type: 'REACT_FLOW_GRAPH_DICTIONARY',
dictionary: response.data,
pdfDownloadConfig: datacommon.configuration.pdfConfig,
graphViewConfig
});

store.dispatch({
type: 'RECEIVE_DICTIONARY',
payload: {
Expand Down

0 comments on commit a87134b

Please sign in to comment.