diff --git a/bitbucket-pipelines.yml b/bitbucket-pipelines.yml index dcc46a56f..72393e026 100644 --- a/bitbucket-pipelines.yml +++ b/bitbucket-pipelines.yml @@ -11,11 +11,12 @@ pipelines: - step: caches: - node + size: 2x # Double resources available for this step. script: # Modify the commands below to build your repository. - cd ng6-seed - npm install - npm install -g @angular/cli - - npm run staging + - node --max_old_space_size=2046 node_modules/@angular/cli/bin/ng build --configuration=staging - ls -ltr - cd dist - pipe: atlassian/aws-s3-deploy:0.3.8 diff --git a/ng6-seed/package.json b/ng6-seed/package.json index de62716fa..d5bf40831 100755 --- a/ng6-seed/package.json +++ b/ng6-seed/package.json @@ -4,7 +4,7 @@ "license": "MIT", "scripts": { "production": "node --max_old_space_size=8192 node_modules/@angular/cli/bin/ng build --prod ", - "staging": "node --max_old_space_size=8192 node_modules/@angular/cli/bin/ng build --prod --configuration=staging", + "staging": "node --max_old_space_size=6144 node_modules/@angular/cli/bin/ng build --configuration=staging", "ng": "ng", "start": "ng serve", "build": "ng build",