Skip to content

Commit d271ac8

Browse files
authored
Merge pull request #216 from terminusdb/newDoc
New doc add --legacy-peer-deps
2 parents 9a3af89 + db1d51b commit d271ac8

File tree

122 files changed

+38621
-1437
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

122 files changed

+38621
-1437
lines changed

.github/workflows/main_workflow.yml

Lines changed: 17 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,15 @@ jobs:
1818
uses: actions/setup-node@v2
1919
with:
2020
node-version: 18
21-
- run: npm i
21+
- run: npm i --legacy-peer-deps
22+
- name : Build Documents-UI
23+
run : |
24+
cd packages/tdb-documents-ui
25+
npm run build
2226
- name: Build
2327
if: ${{ github.ref == 'refs/heads/main' || github.event_name == 'pull_request' }}
28+
env:
29+
NODE_OPTIONS: --max_old_space_size=4096
2430
run: |
2531
cd packages/tdb-dashboard
2632
echo '
@@ -35,6 +41,8 @@ jobs:
3541
npm run build-terminusx
3642
- name: Build prod
3743
if: startsWith(github.ref, 'refs/tags/v')
44+
env:
45+
NODE_OPTIONS: --max_old_space_size=4096
3846
run: |
3947
cd packages/tdb-dashboard
4048
echo '
@@ -77,9 +85,15 @@ jobs:
7785
uses: actions/setup-node@v2
7886
with:
7987
node-version: 18
80-
- run: npm i
88+
- run: npm i --legacy-peer-deps
89+
- name : Build Documents-UI
90+
run : |
91+
cd packages/tdb-documents-ui
92+
npm run build
8193
- name: Build local dashboard
8294
if: ${{ github.ref == 'refs/heads/main' || github.event_name == 'pull_request' || startsWith(github.ref, 'refs/tags/v') }}
95+
env:
96+
NODE_OPTIONS: --max_old_space_size=4096
8397
run: |
8498
cd packages/tdb-dashboard
8599
echo '
@@ -112,7 +126,7 @@ jobs:
112126
- name: Build packages
113127
env:
114128
NODE_OPTIONS: --max_old_space_size=4096
115-
run: npm i && npm run build --ws
129+
run: npm i --legacy-peer-deps && npm run build --ws
116130
- name: Publish workspaces
117131
if: ${{ github.event_name != 'pull_request' && startsWith(github.ref, 'refs/tags/v') }}
118132
env:

0 commit comments

Comments
 (0)