Open Source Platform for DTC, B2B Commerce, Marketplaces & Omnichannel. REST APIs, TypeScript SDKs, and production-ready Next.js storefront. Self-host it. Own your data. No vendor lock-in. Zero platform fees.
Ruby b2b-commercee-commerceecommerceecommerce-apiecommerce-frameworkecommerce-platformheadlessheadless-commerceheadless-ecommercemarketplacemulti-tenantmulti-vendormulti-vendor-ecommerceopen-sourcespree-commerce
Improve extension template brakeman CI config
Damian Legawiecd749be490fc9
diff --git a/cli/lib/spree_cli/templates/extension/.circleci/config.yml b/cli/lib/spree_cli/templates/extension/.circleci/config.ymlindex 65b1746979..1b99d3cae7 100644--- a/cli/lib/spree_cli/templates/extension/.circleci/config.yml+++ b/cli/lib/spree_cli/templates/extension/.circleci/config.yml@@ -110,12 +110,6 @@ jobs:keys:- spree-bundle-{{ .Branch }}- spree-bundle- - run:- name: Add keyserver- command: sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 4EB27DB2A3B88B8B- - run:- name: Install libvips- command: sudo apt-get update && sudo apt-get install libvips- run:name: Set bundle pathcommand: bundle config --local path vendor/bundle@@ -125,7 +119,16 @@ jobs:bundle check || bundle install- run:name: Brakeman- command: bundle exec brakeman --exit-on-warn --exit-on-error+ command: bundle exec brakeman --exit-on-warn --exit-on-error -o brakeman.json -o brakeman.html+ - run:+ name: Move brakeman reports to artifacts directory+ command: |+ mkdir -p /tmp/test-artifacts/+ mv brakeman.json /tmp/test-artifacts/+ mv brakeman.html /tmp/test-artifacts/+ - store_artifacts:+ path: /tmp/test-artifacts+ destination: brakeman-reportsworkflows:version: 2@@ -140,4 +143,4 @@ workflows:- bundle- brakeman:requires:- - bundle+ - bundle\ No newline at end of file