Skip to content

Commit 6c2458a

Browse files
Merge pull request #812 from sailpoint-oss/test/v3.8
testing v3.8 build time on runner
2 parents 86cb89d + 25e2e42 commit 6c2458a

File tree

7 files changed

+1834
-3064
lines changed

7 files changed

+1834
-3064
lines changed

.github/workflows/infra-deploy.yml

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,13 @@ jobs:
4343
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
4444
- name: Check out repo
4545
uses: actions/checkout@v3
46+
with:
47+
fetch-depth: 0
48+
49+
- name: Set up Go
50+
uses: actions/setup-go@v3
51+
with:
52+
go-version: 1.21
4653

4754
- name: build backend
4855
run: |
@@ -88,8 +95,14 @@ jobs:
8895
run: |
8996
echo "CMS_APP_API_ENDPOINT=$API_GATEWAY_URL" >> .env
9097
echo ${{ secrets.NPM_FONTAWESOME_CONFIG }} | base64 -d >> .npmrc
91-
export NODE_OPTIONS="--max_old_space_size=16384"
98+
export NODE_OPTIONS="--max_old_space_size=60000"
9299
export DOCUSAURUS_IGNORE_SSG_WARNINGS=true
100+
export DOCUSAURUS_PERF_LOGGER=true
101+
export DOCUSAURUS_SSG_WORKER_THREAD_COUNT=10
102+
export DOCUSAURUS_BUNDLER_CPU_PROFILE=true
103+
export DOCUSAURUS_SSG_WORKER_THREAD_RECYCLER_MAX_MEMORY=1000000000
104+
export
105+
93106
npm ci
94107
npm run gen-api-docs-all
95108
npm run build

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@ node_modules
99
.docusaurus
1010
.cache-loader
1111

12+
bundler-cpu-profile.json
13+
1214
# Misc
1315
.DS_Store
1416
.idea

.prettierignore

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,4 +18,7 @@ coverage
1818
.docusaurus
1919

2020
# API Specs
21-
/static/api-specs
21+
/static/api-specs
22+
23+
# bundler CPU profile is huge and not meant for formatting
24+
bundler-cpu-profile.json

docusaurus.config.ts

Lines changed: 4 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -14,23 +14,17 @@ const baseUrl = '/';
1414

1515
const config: Config = {
1616
future: {
17-
experimental_faster: {
18-
swcJsLoader: true,
19-
swcJsMinimizer: true,
20-
swcHtmlMinimizer: true,
21-
lightningCssMinimizer: true,
22-
rspackBundler: true,
23-
mdxCrossCompilerCache: true,
24-
},
17+
v4: true,
18+
experimental_faster: true,
2519
},
2620
title: 'SailPoint Developer Community',
2721
tagline:
2822
'The SailPoint Developer Community has everything you need to build, extend, and automate scalable identity solutions.',
2923
url: 'https://developer.sailpoint.com',
3024
baseUrl,
3125
favicon: 'img/SailPoint-Logo-Icon.ico',
32-
// onBrokenLinks: 'throw',
33-
// onBrokenMarkdownLinks: 'throw',
26+
onBrokenLinks: 'throw',
27+
onBrokenMarkdownLinks: 'throw',
3428
onDuplicateRoutes: 'throw',
3529
i18n: {
3630
defaultLocale: 'en',

0 commit comments

Comments
 (0)