@alertlogic/al-collector-js 3.0.1 → 3.0.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alertlogic/al-collector-js",
3
- "version": "3.0.1",
3
+ "version": "3.0.3",
4
4
  "license": "MIT",
5
5
  "description": "Alert Logic Collector Common Library",
6
6
  "repository": {
@@ -9,7 +9,7 @@
9
9
  },
10
10
  "scripts": {
11
11
  "lint": "jshint --show-non-errors --exclude \"./node_modules/*,./proto/*\" **/*.js *.js",
12
- "test": "JUNIT_REPORT_PATH=./test/report.xml nyc --reporter=cobertura mocha --colors --reporter mocha-jenkins-reporter",
12
+ "test": "JUNIT_REPORT_PATH=./test/report.xml nyc --reporter=cobertura --reporter=text mocha --colors --reporter mocha-jenkins-reporter",
13
13
  "rel": "npm publish --access=public"
14
14
  },
15
15
  "main": "index.js",
package/ps_spec.yml CHANGED
@@ -8,18 +8,22 @@ stages:
8
8
  - pull_request
9
9
  - pull_request:
10
10
  trigger_phrase: test it
11
- image: node:12
11
+ image: node:14
12
12
  compute_size: small
13
13
  commands:
14
14
  - make test
15
-
16
15
  -
17
16
  name: Master Push - Publish
18
17
  when:
19
18
  - push: ['npm']
20
- image: node:12
19
+ image: node:14
21
20
  compute_size: small
22
21
  commands:
22
+ - make test
23
+ - git clone git@algithub.pd.alertlogic.net:alertlogic/al-ps-tools.git
24
+ - cp coverage/cobertura-coverage.xml al-collector-js.coverage.xml
25
+ - bash ./al-ps-tools/helpers/collect.sh -c 'al-collector-js.coverage.xml'
26
+ - rm -rf ./al-ps-tools/
23
27
  - |
24
28
  set -ex
25
29
 
@@ -46,4 +50,5 @@ stages:
46
50
  echo "NOT PUBLISHING $PKGNAME $PKGVERSION"
47
51
  fi
48
52
  - echo done
49
-
53
+ outputs:
54
+ file: ./.ps_outputs/*