Skip to content

Commit

Permalink
fix mewcx build
Browse files Browse the repository at this point in the history
  • Loading branch information
kvhnuke committed May 27, 2020
1 parent 4cbc25d commit d58be03
Show file tree
Hide file tree
Showing 4 changed files with 96 additions and 136 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build-cx-generate-zip.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:
run: docker run --rm -v `pwd`:/home:rw --user "$(id -u):$(id -g)" mew-build-container /bin/bash -c "npm install"

- name: build
run: docker run --rm -v `pwd`:/home:rw mew-build-container /bin/bash -c "NODE_OPTIONS=--max-old-space-size=8192 npm run build:mewcx"
run: docker run -it --rm -v `pwd`:/home:rw mew-build-container /bin/bash -c "npm run build:mewcx"

- name: generate zip for cx
if: contains(github.ref, 'cx')
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
FROM node:10.17.0-stretch

ENV HOME /home
ENV NODE_OPTIONS --max-old-space-size=8192
ENV NODE_OPTIONS --max-old-space-size=6144
RUN npm install npm@6.14 -g
RUN node -v && npm -v
COPY package*.json ./
Expand Down
Loading

0 comments on commit d58be03

Please sign in to comment.