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 46acf76..a207fbb 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -67,4 +67,4 @@ jobs: 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 9100a14..1f95bbb 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -29,7 +29,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: | @@ -66,6 +66,7 @@ jobs: else echo "::set-output name=releaseVersion::${{ steps.readVersion.outputs.version }}" fi + create-tag: needs: calculate-version runs-on: ubuntu-latest @@ -73,9 +74,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 @@ -122,21 +123,23 @@ 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" git push origin develop + create-release: needs: [calculate-version, create-tag] 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 }} @@ -147,5 +150,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 5dec05a..fd42c2a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,7 @@ +### Deprecated +- Node.js 10 usage. This version is the latest that supports Node.js 10. +### Changed +- `@reportportal/client-javascript` bumped to version `5.0.15`. ## [5.0.3] - 2023-07-18 ### Changed diff --git a/README.md b/README.md index cbaa2ec..a7d86df 100644 --- a/README.md +++ b/README.md @@ -69,7 +69,7 @@ The full list of available options presented below. | project | Required | | The name of the project in which the launches will be created. | | attributes | Optional | [] | Launch attributes. | | description | Optional | '' | Launch description. | -| rerun | Optional | false | Enable [rerun](https://github.com/reportportal/documentation/blob/master/src/md/src/DevGuides/rerun.md) | +| rerun | Optional | false | Enable [rerun](https://reportportal.io/docs/dev-guides/RerunDevelopersGuide) | | rerunOf | Optional | Not set | UUID of launch you want to rerun. If not specified, reportportal will update the latest launch with the same name | | mode | Optional | 'DEFAULT' | Results will be submitted to Launches page
*'DEBUG'* - Results will be submitted to Debug page (values must be upper case). | | skippedIssue | Optional | true | reportportal provides feature to mark skipped tests as not 'To Investigate'.
Option could be equal boolean values:
*true* - skipped tests considered as issues and will be marked as 'To Investigate' on reportportal.
*false* - skipped tests will not be marked as 'To Investigate' on application. | diff --git a/VERSION b/VERSION index 50e2274..c880334 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -5.0.3 +5.0.4-SNAPSHOT diff --git a/package-lock.json b/package-lock.json index 164f958..e1d1174 100644 --- a/package-lock.json +++ b/package-lock.json @@ -6,10 +6,10 @@ "packages": { "": { "name": "@reportportal/agent-js-mocha", - "version": "5.0.2", + "version": "5.0.3", "license": "Apache 2.0", "dependencies": { - "@reportportal/client-javascript": "^5.0.12", + "@reportportal/client-javascript": "~5.0.15", "mocha": "^10.2.0" }, "devDependencies": { @@ -1226,9 +1226,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 6f0e9bf..00a4cde 100644 --- a/package.json +++ b/package.json @@ -10,7 +10,7 @@ "test:coverage": "jest --coverage" }, "dependencies": { - "@reportportal/client-javascript": "^5.0.12", + "@reportportal/client-javascript": "~5.0.15", "mocha": "^10.2.0" }, "directories": {