From 0d5bb5d6ca816462df34dc9d4c0ba538f71c9d2a Mon Sep 17 00:00:00 2001 From: "reportportal.io" Date: Thu, 20 Jul 2023 08:50:02 +0000 Subject: [PATCH 1/9] 5.0.2 -> 5.0.3-SNAPSHOT --- VERSION | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/VERSION b/VERSION index a1ef0ca..e8f06d7 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -5.0.2 +5.0.3-SNAPSHOT From 167dcc65466fcbd92b39dfcb88766c61f330f3c5 Mon Sep 17 00:00:00 2001 From: Ilya Date: Fri, 1 Sep 2023 14:22:30 +0300 Subject: [PATCH 2/9] Create CODEOWNERS --- .github/CODEOWNERS | 1 + 1 file changed, 1 insertion(+) create mode 100644 .github/CODEOWNERS diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS new file mode 100644 index 0000000..4a82b9c --- /dev/null +++ b/.github/CODEOWNERS @@ -0,0 +1 @@ +* @AmsterGet @Bam6ycha From 3829c0f99db2f49099d3d748ba72f7111de8758e Mon Sep 17 00:00:00 2001 From: Bam6ycha <84175555+Bam6ycha@users.noreply.github.com> Date: Fri, 29 Sep 2023 22:00:54 +0500 Subject: [PATCH 3/9] EPMRPP-86252 || Update github token (#87) --- .github/workflows/release.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 482b4ae..14a311c 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -142,7 +142,7 @@ jobs: id: createRelease uses: actions/create-release@v1 env: - GITHUB_TOKEN: ${{ secrets.GH_TOKEN }} + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: tag_name: v${{ needs.calculate-version.outputs.releaseVersion }} release_name: Release v${{ needs.calculate-version.outputs.releaseVersion }} @@ -153,5 +153,5 @@ jobs: if: success() uses: peter-evans/repository-dispatch@v1 with: - token: ${{ secrets.GH_TOKEN }} + token: ${{ secrets.GITHUB_TOKEN }} event-type: version-released From 9947c743f1c22f8626cae8b1c175594b4fc61b1e Mon Sep 17 00:00:00 2001 From: Bam6ycha <84175555+Bam6ycha@users.noreply.github.com> Date: Tue, 10 Oct 2023 20:58:05 +0500 Subject: [PATCH 4/9] EPMRPP-86856 || Fix issue with DEBUG mode reporting (#88) --- .github/workflows/publish.yml | 16 ++++++++-------- CHANGELOG.md | 4 ++++ lib/specificUtils.js | 3 ++- package-lock.json | 10 +++++----- package.json | 4 ++-- 5 files changed, 21 insertions(+), 16 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 1aab857..a6b70f9 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -51,9 +51,9 @@ jobs: run: npm ci - name: Publish to NPM run: | - npm config set //registry.npmjs.org/:_authToken=$NODE_AUTH_TOKEN - npm config list - npm publish --access public + npm config set //registry.npmjs.org/:_authToken=$NODE_AUTH_TOKEN + npm config list + npm publish --access public env: NODE_AUTH_TOKEN: ${{ secrets.NPM_ACCESS_TOKEN }} - name: Set up Node.js @@ -64,9 +64,9 @@ jobs: scope: '@reportportal' - name: Publish to GPR run: | - npm config set //npm.pkg.github.com/:_authToken=$NODE_AUTH_TOKEN - npm config set scope '@reportportal' - npm config list - npm publish + npm config set //npm.pkg.github.com/:_authToken=$NODE_AUTH_TOKEN + npm config set scope '@reportportal' + npm config list + npm publish env: - NODE_AUTH_TOKEN: ${{ secrets.GH_TOKEN }} + NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/CHANGELOG.md b/CHANGELOG.md index 3e09103..943dfe9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,7 @@ +### Changed +- `@reportportal/client-javascript` bumped to version `5.0.14`. +### Fixed +- [#86](https://github.com/reportportal/agent-js-jasmine/issues/86) `DEBUG` mode has no effect ## [5.0.2] - 2023-07-20 ### Fixed diff --git a/lib/specificUtils.js b/lib/specificUtils.js index 59f0889..0baf970 100644 --- a/lib/specificUtils.js +++ b/lib/specificUtils.js @@ -78,7 +78,8 @@ const SpecificUtils = { }, conf.id && { id: conf.id }, conf.rerun && { rerun: conf.rerun }, - conf.rerunOf && { rerunOf: conf.rerunOf } + conf.rerunOf && { rerunOf: conf.rerunOf }, + conf.mode && { mode: conf.mode } ); return launchObj; diff --git a/package-lock.json b/package-lock.json index ba9f9e4..52a1857 100644 --- a/package-lock.json +++ b/package-lock.json @@ -6,10 +6,10 @@ "packages": { "": { "name": "@reportportal/agent-js-jasmine", - "version": "5.0.1", + "version": "5.0.2", "license": "Apache-2.0", "dependencies": { - "@reportportal/client-javascript": "^5.0.12" + "@reportportal/client-javascript": "^5.0.14" }, "devDependencies": { "codecov": "^3.8.3", @@ -701,9 +701,9 @@ } }, "node_modules/@reportportal/client-javascript": { - "version": "5.0.12", - "resolved": "https://registry.npmjs.org/@reportportal/client-javascript/-/client-javascript-5.0.12.tgz", - "integrity": "sha512-ECLvuDLV7KyKs0wG9Sis3ZqHOq9VMg3fywm1VDegd5HGDKC1hoXxFKfz6ngPY8FZ5O1nt1UJvgEs47shtPHQCg==", + "version": "5.0.14", + "resolved": "https://registry.npmjs.org/@reportportal/client-javascript/-/client-javascript-5.0.14.tgz", + "integrity": "sha512-4ge9ddOB1rFlzqI6j43qCw0cyjQOloiPChA1EFyF3dcV2BXHzGbh8S3SNhwxibvlQtV6piU8e0W9CLN4UWXvSA==", "dependencies": { "axios": "^0.27.2", "axios-retry": "^3.4.0", diff --git a/package.json b/package.json index 5997062..9f28a51 100644 --- a/package.json +++ b/package.json @@ -4,13 +4,13 @@ "description": "Agent for integration Jasmine with ReportPortal.", "main": "./lib/reportportal-agent", "scripts": { - "lint": "eslint . --quiet", + "lint": "eslint .", "format": "npm run lint -- --fix", "test": "nyc ./node_modules/jasmine/bin/jasmine.js", "test:coverage": "nyc report --reporter=lcov --reporter=text-summary" }, "dependencies": { - "@reportportal/client-javascript": "^5.0.12" + "@reportportal/client-javascript": "^5.0.14" }, "devDependencies": { "codecov": "^3.8.3", From b42bb5c8c8a32c4affea45dbb4d074e643e109c2 Mon Sep 17 00:00:00 2001 From: Ilya Hancharyk Date: Fri, 19 Jan 2024 21:12:06 +0300 Subject: [PATCH 5/9] EPMRPP-87604 || Update changelog --- CHANGELOG.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 943dfe9..400d81a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,7 +1,9 @@ ### Changed -- `@reportportal/client-javascript` bumped to version `5.0.14`. +- `@reportportal/client-javascript` bumped to version `5.0.15`. +### Deprecated +- Node.js 10 usage. This version is the latest that supports Node.js 10. ### Fixed -- [#86](https://github.com/reportportal/agent-js-jasmine/issues/86) `DEBUG` mode has no effect +- [#86](https://github.com/reportportal/agent-js-jasmine/issues/86) `DEBUG` mode has no effect. ## [5.0.2] - 2023-07-20 ### Fixed From e41aea1814026c7b18e721340a33e68a786bb335 Mon Sep 17 00:00:00 2001 From: Ilya Hancharyk Date: Fri, 19 Jan 2024 21:13:22 +0300 Subject: [PATCH 6/9] EPMRPP-87604 || Use only patch versions of JS client automatically --- package-lock.json | 8 ++++---- package.json | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/package-lock.json b/package-lock.json index 52a1857..e5ad4cf 100644 --- a/package-lock.json +++ b/package-lock.json @@ -9,7 +9,7 @@ "version": "5.0.2", "license": "Apache-2.0", "dependencies": { - "@reportportal/client-javascript": "^5.0.14" + "@reportportal/client-javascript": "~5.0.15" }, "devDependencies": { "codecov": "^3.8.3", @@ -701,9 +701,9 @@ } }, "node_modules/@reportportal/client-javascript": { - "version": "5.0.14", - "resolved": "https://registry.npmjs.org/@reportportal/client-javascript/-/client-javascript-5.0.14.tgz", - "integrity": "sha512-4ge9ddOB1rFlzqI6j43qCw0cyjQOloiPChA1EFyF3dcV2BXHzGbh8S3SNhwxibvlQtV6piU8e0W9CLN4UWXvSA==", + "version": "5.0.15", + "resolved": "https://registry.npmjs.org/@reportportal/client-javascript/-/client-javascript-5.0.15.tgz", + "integrity": "sha512-ry6euqCOoJLXCUuBhlRMjCYKhbgU+9EYdZ8jpTuagoBVxS8V8nJed9ODnS4bXX61g+pJm+NP/0DrN2Ptq+DgQQ==", "dependencies": { "axios": "^0.27.2", "axios-retry": "^3.4.0", diff --git a/package.json b/package.json index 9f28a51..c5a0dc2 100644 --- a/package.json +++ b/package.json @@ -10,7 +10,7 @@ "test:coverage": "nyc report --reporter=lcov --reporter=text-summary" }, "dependencies": { - "@reportportal/client-javascript": "^5.0.14" + "@reportportal/client-javascript": "~5.0.15" }, "devDependencies": { "codecov": "^3.8.3", From 21d391f6757ebbbd41f381de2377ad7038a8ee41 Mon Sep 17 00:00:00 2001 From: Ilya Hancharyk Date: Fri, 19 Jan 2024 21:14:06 +0300 Subject: [PATCH 7/9] EPMRPP-87604 || Set version fragment to patch after release --- .github/workflows/release.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 14a311c..d835ba2 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -127,6 +127,7 @@ jobs: git checkout develop git merge master -Xtheirs --allow-unrelated-histories echo "${{ steps.bumpSnapshotVersion.outputs.next-version }}-SNAPSHOT" > ${{ env.versionFileName }} + echo "patch" > ${{ env.versionFragmentFileName }} git status git add ${{ env.versionFileName }} git commit -m "${{ needs.calculate-version.outputs.releaseVersion }} -> ${{ steps.bumpSnapshotVersion.outputs.next-version }}-SNAPSHOT" From d99940a96f1f5c7b53fad14e2aa258d13b4f5201 Mon Sep 17 00:00:00 2001 From: Ilya Hancharyk Date: Fri, 19 Jan 2024 21:14:35 +0300 Subject: [PATCH 8/9] EPMRPP-87604 || Bump versions of GitHub actions for release workflow --- .github/workflows/release.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index d835ba2..ac4e27d 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -33,7 +33,7 @@ jobs: releaseVersion: ${{ steps.exposeVersion.outputs.releaseVersion }} steps: - name: Checkout repository - uses: actions/checkout@v2 + uses: actions/checkout@v3 - name: Read version id: readVersion run: | @@ -78,9 +78,9 @@ jobs: versionInfo: ${{ steps.readChangelogEntry.outputs.log_entry }} steps: - name: Checkout repository - uses: actions/checkout@v2 + uses: actions/checkout@v3 - name: Setup NodeJS - uses: actions/setup-node@v2 + uses: actions/setup-node@v3 with: node-version: '12' - name: Configure git @@ -138,7 +138,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout repository - uses: actions/checkout@v2 + uses: actions/checkout@v3 - name: Create Release id: createRelease uses: actions/create-release@v1 From b2a16191c077eadd0b9165ac2295fcc6c7ed767b Mon Sep 17 00:00:00 2001 From: Ilya Hancharyk Date: Fri, 19 Jan 2024 21:14:50 +0300 Subject: [PATCH 9/9] Update codeowners --- .github/CODEOWNERS | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index 4a82b9c..4d58196 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -1 +1 @@ -* @AmsterGet @Bam6ycha +* @AmsterGet