chore(ci): go in the opposite direction

This commit is contained in:
Paul Makles 2022-04-29 15:49:05 +01:00
parent 37a5e3af5f
commit f3cf4f01ca
3 changed files with 2 additions and 2 deletions

View file

@ -27,7 +27,6 @@ runs:
env: env:
BUILD_FOLDER: ${{ inputs.folder }} BUILD_FOLDER: ${{ inputs.folder }}
BASE: ${{ inputs.base }} BASE: ${{ inputs.base }}
NODE_OPTIONS: --max-old-space-size=4096
run: | run: |
cd "$BUILD_FOLDER" cd "$BUILD_FOLDER"
yarn install yarn install

View file

@ -9,7 +9,7 @@ COPY . .
COPY .env.build .env COPY .env.build .env
RUN yarn add --dev @babel/plugin-proposal-decorators RUN yarn add --dev @babel/plugin-proposal-decorators
RUN yarn typecheck RUN yarn typecheck
RUN yarn build RUN yarn build:highmem
RUN npm prune --production RUN npm prune --production
FROM node:16-buster FROM node:16-buster

View file

@ -4,6 +4,7 @@
"dev": "node scripts/setup_assets.js --check && vite", "dev": "node scripts/setup_assets.js --check && vite",
"pull": "node scripts/setup_assets.js", "pull": "node scripts/setup_assets.js",
"build": "rimraf build && node scripts/setup_assets.js --check && vite build", "build": "rimraf build && node scripts/setup_assets.js --check && vite build",
"build:highmem": "NODE_OPTIONS='--max-old-space-size=4096' yarn build",
"preview": "vite preview", "preview": "vite preview",
"lint": "eslint src/**/*.{js,jsx,ts,tsx}", "lint": "eslint src/**/*.{js,jsx,ts,tsx}",
"fmt": "prettier --write 'src/**/*.{js,jsx,ts,tsx}'", "fmt": "prettier --write 'src/**/*.{js,jsx,ts,tsx}'",