Skip to content

Commit

Permalink
ci: Increase memory limit for build
Browse files Browse the repository at this point in the history
  • Loading branch information
d-beezee committed Apr 4, 2024
1 parent d1c214f commit 492f4aa
Show file tree
Hide file tree
Showing 4 changed files with 2,724 additions and 1,193 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM node:16.19-alpine3.17 as base
FROM node:18-alpine3.17 as base

COPY package.json ./
COPY yarn.lock ./
Expand Down
3 changes: 3 additions & 0 deletions craco.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@ const resolvedAliases = Object.fromEntries(
);

module.exports = {
eslint: {
enable: false,
},
webpack: {
alias: resolvedAliases,
configure: (webpackConfig) => {
Expand Down
7 changes: 2 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@
"generate-schema": ". ./.env.development; npx openapi-typescript $REACT_APP_API_URL/reference/ --output src/utils/schema.ts ",
"start": "craco start",
"start:ssl": "craco --openssl-legacy-provider start",
"build": "react-scripts build && npm run move",
"build": "NODE_OPTIONS=\"--max-old-space-size=8192 --openssl-legacy-provider\" craco build && npm run move",
"test": "test:e2e:ci",
"test:e2e:ui": "npx playwright test --ui",
"test:e2e": "npx playwright test",
Expand Down Expand Up @@ -116,9 +116,6 @@
},
"resolutions": {
"//": "See https://github.com/facebook/create-react-app/issues/11773",
"react-error-overlay": "6.0.9",
"@types/react": "17.0.2",
"@types/react-dom": "17.0.2",
"styled-components": "^6.1.1"
"react-error-overlay": "6.0.9"
}
}
Loading

0 comments on commit 492f4aa

Please sign in to comment.