Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release 5.1.0 #39

Merged
merged 32 commits into from
Feb 6, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
32 commits
Select commit Hold shift + click to select a range
10b1f0f
Merge branch 'master' into develop
Oct 5, 2022
5f75e6a
5.0.3 -> 5.0.4-SNAPSHOT
Oct 5, 2022
f4a697a
EPMRPP-80662 || Browser parameter (#37)
tr1ble Nov 10, 2022
94a5095
EPMRPP-80662 || Changelog update (#38)
tr1ble Nov 10, 2022
ccd6c50
Actualize dependencies
AmsterGet Feb 28, 2023
ddd0c2b
Update 'engines' field with Node.js >=12.x
AmsterGet Feb 28, 2023
eac1bbf
Use Node.js 16 in CI and Publish pipelines
AmsterGet Feb 28, 2023
68cdb45
Merge pull request #41 from reportportal/update-deps-node-16
AmsterGet Mar 1, 2023
2c76c14
Use Node.js 18.x in pipelines (#43)
AmsterGet Mar 1, 2023
ed62668
Update README.md
AmsterGet Mar 27, 2023
960b091
Bump action versions for CI pipeline
AmsterGet Mar 30, 2023
bb4a5c5
Bump action versions for Publish pipeline
AmsterGet Mar 30, 2023
5b70631
Bump action versions for Release pipeline
AmsterGet Mar 30, 2023
dff6b50
Create CODEOWNERS
AmsterGet Sep 1, 2023
2778f5f
EPMRPP-86252 || Update github token (#48)
Bam6ycha Sep 29, 2023
f6dd5be
EPMRPP-8583 || fix issue with webdriverio + mocha in it.skip (#49)
Bam6ycha Oct 16, 2023
a8a284b
Update CODEOWNERS
AmsterGet Jan 4, 2024
a1a8b69
fix finishLaunch sync issue (#55)
AlexGalichenko Jan 19, 2024
26647f4
Remove clean install usage from workflow files
AmsterGet Jul 20, 2023
a02bb1c
Bum versions of dependencies
AmsterGet Jul 20, 2023
41ad201
Update changelog
AmsterGet Jul 20, 2023
7f544a1
EPMRPP-84291 || Add 'apiKey' property support
AmsterGet Jul 20, 2023
6b705a4
Update unit tests
AmsterGet Dec 4, 2023
c744762
Add existing launchId support. Fix default values for launch mode and…
AmsterGet Feb 2, 2024
cf982ea
Bump client version
AmsterGet Feb 2, 2024
841ec19
Update changelog
AmsterGet Feb 2, 2024
25e39b5
Fix jest config to use CJS instead of ESM for axios package
AmsterGet Feb 2, 2024
7ae82b6
Merge pull request #56 from reportportal/feature/introduce-api-key-an…
AmsterGet Feb 5, 2024
e16477b
Release workflow. Fix patch version fragment reset after release
AmsterGet Feb 5, 2024
62dcc56
Actualize changelog
AmsterGet Feb 5, 2024
adf00c2
Update readme
AmsterGet Feb 6, 2024
9cb07ae
Bump version fragment to minor
AmsterGet Feb 6, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .github/CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
* @AmsterGet
14 changes: 6 additions & 8 deletions .github/workflows/CI-pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,18 +28,16 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2
uses: actions/checkout@v3
- name: Set up Node.js
uses: actions/setup-node@v1
uses: actions/setup-node@v3
with:
node-version: 12.x
- name: Clean install of node dependencies
run: npm ci
node-version: 18
- name: Install of node dependencies
run: npm install
- name: Build the source code
run: npm run build
- name: Run lint
run: npm run lint
- name: Run tests
run: npm test
- name: Check coverage
- name: Run tests and check coverage
run: npm run test:coverage
26 changes: 12 additions & 14 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,32 +22,30 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2
uses: actions/checkout@v3
- name: Set up Node.js
uses: actions/setup-node@v1
uses: actions/setup-node@v3
with:
node-version: 12.x
- name: Clean install of node dependencies
run: npm ci
node-version: 18
- name: Install of node dependencies
run: npm install
- name: Build the source code
run: npm run build
- name: Run lint
run: npm run lint
- name: Run tests
run: npm test
- name: Check coverage
- name: Run tests and check coverage
run: npm run test:coverage

publish-to-npm-and-gpr:
needs: build
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2
uses: actions/checkout@v3
- name: Set up Node.js
uses: actions/setup-node@v1
uses: actions/setup-node@v3
with:
node-version: 12.x
node-version: 18
registry-url: 'https://registry.npmjs.org'
- name: Clean install of node dependencies
run: npm ci
Expand All @@ -61,9 +59,9 @@ jobs:
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_ACCESS_TOKEN }}
- name: Set up Node.js
uses: actions/setup-node@v1
uses: actions/setup-node@v3
with:
node-version: 12.x
node-version: 18
registry-url: 'https://npm.pkg.github.com'
scope: '@reportportal'
- name: Publish to GPR
Expand All @@ -73,4 +71,4 @@ jobs:
npm config list
npm publish
env:
NODE_AUTH_TOKEN: ${{ secrets.GH_TOKEN }}
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
14 changes: 8 additions & 6 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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: |
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -127,8 +127,10 @@ 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 add ${{ env.versionFragmentFileName }}
git commit -m "${{ needs.calculate-version.outputs.releaseVersion }} -> ${{ steps.bumpSnapshotVersion.outputs.next-version }}-SNAPSHOT"
git push origin develop

Expand All @@ -137,12 +139,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 }}
Expand All @@ -153,5 +155,5 @@ jobs:
if: success()
uses: peter-evans/repository-dispatch@v1
with:
token: ${{ secrets.GH_TOKEN }}
token: ${{ secrets.GITHUB_TOKEN }}
event-type: version-released
2 changes: 2 additions & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# Ignore all .md files
*.md
33 changes: 20 additions & 13 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,26 +1,33 @@
### Added
- `launchId` option to the config to attach run results to an existing launch. Related to parallel execution on one and several machines.
- Browser parameter to steps.
### Fixed
- Reporter breaks on skipped test for WebdriverIO + Mocha. Addressed [#46](https://github.com/reportportal/agent-js-webdriverio/issues/46).
- Fix error with launch finishing. Addressed [53](https://github.com/reportportal/agent-js-webdriverio/issues/53) and [47](https://github.com/reportportal/agent-js-webdriverio/issues/47). Thanks to [AlexGalichenko](https://github.com/AlexGalichenko).
### Changed
- `token` configuration option was renamed to `apiKey` to maintain common convention.
- `@reportportal/client-javascript` bumped to version `5.1.1`.
- Readme file updated.

## [5.0.3] - 2022-10-05
### Added
- Support reportSeleniumCommands and seleniumCommandsLogLevel for Cucumber and Jasmine reporting via `reportSeleniumCommands`, `seleniumCommandsLogLevel` flags
- _isLaunchMergeRequired_ config option support. Provided guide on merging launches manually [provided](README.md#manual-merge-launches)
- Support reportSeleniumCommands and seleniumCommandsLogLevel for Cucumber and Jasmine reporting via `reportSeleniumCommands`, `seleniumCommandsLogLevel` flags.
- _isLaunchMergeRequired_ config option support. Provided guide on merging launches manually [provided](README.md#manual-merge-launches).

## [5.0.2] - 2022-05-31
### Added
- [testCaseId](https://reportportal.io/docs/Test-case-ID%3Ewhat-is-it-test-case-id) reporting via [`ReportingApi.setTestCaseId`](README.md#setTestCaseId)
- Support nested steps for Cucumber reporting via `cucumberNestedSteps` flag
- `skippedIssue` parameter to not mark skipped tests as 'To Investigate' by default
- TypeScript definitions provided

### Updated
- `@reportportal/client-javascript` bumped to version `5.0.6`

- [testCaseId](https://reportportal.io/docs/Test-case-ID%3Ewhat-is-it-test-case-id) reporting via [`ReportingApi.setTestCaseId`](README.md#setTestCaseId).
- Support nested steps for Cucumber reporting via `cucumberNestedSteps` flag.
- `skippedIssue` parameter to not mark skipped tests as 'To Investigate' by default.
- TypeScript definitions provided.
### Changed
- Package size reduced
- Package size reduced.
- `@reportportal/client-javascript` bumped to version `5.0.6`.

## [5.0.1] - 2021-10-05
### Fixed
- Compiled source code provided
- Compiled source code provided.

## [5.0.0] - 2021-10-05
### Added
- Full compatibility with ReportPortal version 5.* (see [reportportal releases](https://github.com/reportportal/reportportal/releases))
- Full compatibility with ReportPortal version 5.* (see [reportportal releases](https://github.com/reportportal/reportportal/releases)).
Loading
Loading