diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS new file mode 100644 index 0000000..4d58196 --- /dev/null +++ b/.github/CODEOWNERS @@ -0,0 +1 @@ +* @AmsterGet 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/.github/workflows/release.yml b/.github/workflows/release.yml index 482b4ae..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 @@ -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" @@ -137,12 +138,12 @@ 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 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 +154,5 @@ jobs: if: success() uses: peter-evans/repository-dispatch@v1 with: - token: ${{ secrets.GH_TOKEN }} + token: ${{ secrets.GITHUB_TOKEN }} event-type: version-released diff --git a/CHANGELOG.md b/CHANGELOG.md index 3e09103..400d81a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,9 @@ +### Changed +- `@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. ## [5.0.2] - 2023-07-20 ### Fixed diff --git a/VERSION b/VERSION index a1ef0ca..e8f06d7 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -5.0.2 +5.0.3-SNAPSHOT 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..e5ad4cf 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.15" }, "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.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 5997062..c5a0dc2 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.15" }, "devDependencies": { "codecov": "^3.8.3",