mirror of
https://github.com/revoltchat/revite.git
synced 2024-11-06 07:25:53 -05:00
chore(ci): go in the opposite direction
This commit is contained in:
parent
37a5e3af5f
commit
f3cf4f01ca
3 changed files with 2 additions and 2 deletions
1
.github/actions/build/action.yml
vendored
1
.github/actions/build/action.yml
vendored
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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}'",
|
||||||
|
|
Loading…
Reference in a new issue