mirror of
https://github.com/revoltchat/revite.git
synced 2024-11-21 14:40:58 -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:
|
||||
BUILD_FOLDER: ${{ inputs.folder }}
|
||||
BASE: ${{ inputs.base }}
|
||||
NODE_OPTIONS: --max-old-space-size=4096
|
||||
run: |
|
||||
cd "$BUILD_FOLDER"
|
||||
yarn install
|
||||
|
|
|
@ -9,7 +9,7 @@ COPY . .
|
|||
COPY .env.build .env
|
||||
RUN yarn add --dev @babel/plugin-proposal-decorators
|
||||
RUN yarn typecheck
|
||||
RUN yarn build
|
||||
RUN yarn build:highmem
|
||||
RUN npm prune --production
|
||||
|
||||
FROM node:16-buster
|
||||
|
|
|
@ -4,6 +4,7 @@
|
|||
"dev": "node scripts/setup_assets.js --check && vite",
|
||||
"pull": "node scripts/setup_assets.js",
|
||||
"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",
|
||||
"lint": "eslint src/**/*.{js,jsx,ts,tsx}",
|
||||
"fmt": "prettier --write 'src/**/*.{js,jsx,ts,tsx}'",
|
||||
|
|
Loading…
Reference in a new issue