Skip to content

Commit

Permalink
👷 [portafly] fixes build and adds a new job to the pipeline
Browse files Browse the repository at this point in the history
👷 [portafly] fixes build and adds a new job to the pipeline
  • Loading branch information
josemigallas authored Jul 17, 2020
1 parent 8589e74 commit e866b6d
Show file tree
Hide file tree
Showing 3 changed files with 456 additions and 510 deletions.
27 changes: 23 additions & 4 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -828,7 +828,7 @@ jobs:
path: tmp/capybara
destination: capybara

portafly:
portafly_tests:
resource_class: small
docker:
- image: circleci/node:12
Expand All @@ -841,9 +841,25 @@ jobs:
command: |
cd portafly
yarn --version
yarn install
yarn install --frozen-lockfile
yarn test --maxWorkers=3
portafly_build:
resource_class: small
docker:
- image: circleci/node:12
parameters:
steps:
- checkout-with-submodules
- run:
name: Run PortaFly Build
root: .
command: |
cd portafly
yarn --version
yarn install --frozen-lockfile
CI=false yarn build
check_production_gemfile:
parameters:
executor:
Expand Down Expand Up @@ -1139,16 +1155,19 @@ workflows:
- assets_precompile
<<: *only-master-filter

portafly_build:
portafly:
jobs:
- manual_approval:
type: approval
- notify_start:
requires:
- manual_approval
- portafly:
- portafly_tests:
requires:
- manual_approval
- portafly_build:
requires:
- portafly_tests

production_gemfile-master:
jobs:
Expand Down
4 changes: 2 additions & 2 deletions portafly/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -88,10 +88,10 @@
"ts-pnp": "1.2.0",
"typescript": "~3.8.3",
"url-loader": "4.1.0",
"webpack": "4.43.0",
"webpack": "4.42.0",
"webpack-dev-server": "3.10.3",
"webpack-manifest-plugin": "2.2.0",
"workbox-webpack-plugin": "5.1.3",
"workbox-webpack-plugin": "4.3.1",
"yaml-loader": "^0.6.0"
},
"scripts": {
Expand Down
Loading

0 comments on commit e866b6d

Please sign in to comment.