From 69018f54f5192b5cf7100a37ba972adcfc21c0ff Mon Sep 17 00:00:00 2001 From: GP Date: Thu, 19 Sep 2019 11:14:26 +0530 Subject: [PATCH 1/2] deps: Upgrade to @actions/core 1.1.1 --- package-lock.json | 6 +++--- package.json | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/package-lock.json b/package-lock.json index 76c0723e..4e86c490 100644 --- a/package-lock.json +++ b/package-lock.json @@ -5,9 +5,9 @@ "requires": true, "dependencies": { "@actions/core": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/@actions/core/-/core-1.1.0.tgz", - "integrity": "sha512-KKpo3xzo0Zsikni9tbOsEQkxZBGDsYSJZNkTvmo0gPSXrc98TBOcdTvKwwjitjkjHkreTggWdB1ACiAFVgsuzA==" + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/@actions/core/-/core-1.1.1.tgz", + "integrity": "sha512-O5G6EmlzTVsng7VSpNtszIoQq6kOgMGNTFB/hmwKNNA4V71JyxImCIrL27vVHCt2Cb3ImkaCr6o27C2MV9Ylwg==" }, "@actions/exec": { "version": "1.0.1", diff --git a/package.json b/package.json index 76c280b3..d5fcebc0 100644 --- a/package.json +++ b/package.json @@ -23,7 +23,7 @@ "author": "GP ", "license": "MIT", "dependencies": { - "@actions/core": "^1.1.0", + "@actions/core": "^1.1.1", "@actions/exec": "^1.0.1", "node-fetch": "^2.6.0" }, From 29a55e8ad8f98d95e20c911713173bc1027ccd1f Mon Sep 17 00:00:00 2001 From: GP Date: Thu, 19 Sep 2019 11:14:54 +0530 Subject: [PATCH 2/2] test: Fix output style after upgrade to @actions/core. --- test/main.test.ts | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/test/main.test.ts b/test/main.test.ts index 92b2145a..4868925e 100644 --- a/test/main.test.ts +++ b/test/main.test.ts @@ -69,16 +69,16 @@ test('๐Ÿงช run() should run the CC reporter (happy path).', async t => { t.equal( capturedOutput, - `##[debug]โ„น๏ธ Downloading CC Reporter from http://localhost.test/dummy-cc-reporter ... -##[debug]โœ… CC Reporter downloaded... + `::debug::โ„น๏ธ Downloading CC Reporter from http://localhost.test/dummy-cc-reporter ... +::debug::โœ… CC Reporter downloaded... [command]./test.sh before-build\nbefore-build -##[debug]โœ… CC Reporter before-build checkin completed... +::debug::โœ… CC Reporter before-build checkin completed... [command]echo \'coverage ok\' \'coverage ok\' -##[debug]โœ… Coverage run completed... +::debug::โœ… Coverage run completed... [command]./test.sh after-build --exit-code 0 after-build --exit-code 0 -##[debug]โœ… CC Reporter after-build checkin completed! +::debug::โœ… CC Reporter after-build checkin completed! `, 'should execute all steps.' );