test:
  override:
    - ./node_modules/.bin/eslint lib
    - |
      ./node_modules/.bin/jpm test --tbpl --binary /usr/bin/firefox | tee jpm.tbpl
      # exit with exit code of jpm, not tee
      (exit ${PIPESTATUS[0]})
  post:
    - woodchipper --timeout 600000 < jpm.tbpl > $CIRCLE_TEST_REPORTS/jpm.xml
    - ./node_modules/.bin/jpm xpi && mv recipe-client.xpi $CIRCLE_ARTIFACTS/recipe-client.xpi

test:
  override:
    - ./node_modules/.bin/eslint lib
    - |
      ./node_modules/.bin/jpm test --tbpl --binary /usr/bin/firefox | tee jpm.tbpl
      # exit with exit code of jpm, not tee
      (exit ${PIPESTATUS[0]})
  post:
    - woodchipper --timeout 600000 < jpm.tbpl > $CIRCLE_TEST_REPORTS/jpm.xml
    - ./node_modules/.bin/jpm xpi && mv shield-recipe-client.xpi $CIRCLE_ARTIFACTS/shield-recipe-client.xpi

Update to reflect new package name
CI: Update to reflect new package name
