Skip to content

Commit

Permalink
Merge pull request #113 from reportportal/develop
Browse files Browse the repository at this point in the history
Release 5.1.1
  • Loading branch information
AmsterGet authored Jul 16, 2024
2 parents 1a3f318 + 0aae1f1 commit 8fe3121
Show file tree
Hide file tree
Showing 13 changed files with 777 additions and 854 deletions.
2 changes: 1 addition & 1 deletion .github/CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
@@ -1 +1 @@
* @AmsterGet @Bam6ycha
* @AmsterGet
8 changes: 4 additions & 4 deletions .github/workflows/CI-pipeline.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2021 EPAM Systems
# Copyright 2024 EPAM Systems
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
Expand Down Expand Up @@ -28,11 +28,11 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Set up Node.js
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: 18
node-version: 20
- name: Install of node dependencies
run: npm install
- name: Run lint
Expand Down
18 changes: 9 additions & 9 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2021 EPAM Systems
# Copyright 2024 EPAM Systems
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
Expand All @@ -22,11 +22,11 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Set up Node.js
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: 18
node-version: 20
- name: Install of node dependencies
run: npm install
- name: Run lint
Expand All @@ -39,11 +39,11 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Set up Node.js
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: 18
node-version: 20
registry-url: 'https://registry.npmjs.org'
- name: Install of node dependencies
run: npm install
Expand All @@ -55,9 +55,9 @@ jobs:
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_ACCESS_TOKEN }}
- name: Set up Node.js
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: 18
node-version: 20
registry-url: 'https://npm.pkg.github.com'
scope: '@reportportal'
- name: Publish to GPR
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2021 EPAM Systems
# Copyright 2024 EPAM Systems
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
Expand Down Expand Up @@ -33,7 +33,7 @@ jobs:
releaseVersion: ${{ steps.exposeVersion.outputs.releaseVersion }}
steps:
- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v4
- 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@v3
uses: actions/checkout@v4
- name: Setup NodeJS
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: '12'
- name: Configure git
Expand Down Expand Up @@ -139,7 +139,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Create Release
id: createRelease
uses: actions/create-release@v1
Expand Down
10 changes: 9 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
### Added
- Logging link to the launch on its finish now available by default.
### Changed
- `@reportportal/client-javascript` bumped to version `5.1.4`. `launchUuidPrint` and `launchUuidPrintOutput` configuration options introduced.
### Security
- Updated versions of vulnerable packages (braces).
### Deprecated
- Node.js 12 usage. This minor version is the latest that supports Node.js 12.

## [5.1.0] - 2024-01-24
### Changed
Expand All @@ -6,7 +14,7 @@

## [5.0.7] - 2024-01-19
### Deprecated
- Node.js 10 usage. This version is the latest that supports Node.js 10.
- Node.js 10 usage. This minor version is the latest that supports Node.js 10.
### Security
- Updated versions of vulnerable packages (@babel/traverse, follow-redirects).

Expand Down
78 changes: 40 additions & 38 deletions README.md

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
5.1.0
5.1.1-SNAPSHOT
26 changes: 11 additions & 15 deletions jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,19 +15,15 @@
*/

module.exports = {
moduleFileExtensions: [
'js'
],
testRegex: '/__tests__/.*\\.spec.(js)$',
collectCoverageFrom: [
'./lib/**'
],
coverageThreshold: {
global: {
branches: 80,
functions: 80,
lines: 80,
statements: 80
}
}
moduleFileExtensions: ['js'],
testRegex: '/__tests__/.*\\.spec.(js)$',
collectCoverageFrom: ['./lib/**'],
coverageThreshold: {
global: {
branches: 80,
functions: 80,
lines: 80,
statements: 80,
},
},
};
4 changes: 1 addition & 3 deletions lib/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,8 @@
* limitations under the License.
*/

'use strict';

const Reporter = require('./reporter');

module.exports = function (emitter, options, collectionRunOptions) {
return new Reporter(emitter, options, collectionRunOptions);
return new Reporter(emitter, options, collectionRunOptions);
};
4 changes: 4 additions & 0 deletions lib/utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,10 @@ module.exports = {
mode: options.mode || options.reportportalAgentJsPostmanMode,
skippedIssue: options.skippedIssue || options.reportportalAgentJsPostmanSkippedIssue,
restClientConfig: options.restClientConfig,
headers: options.headers,
launchUuidPrint: options.launchUuidPrint || options.reportportalAgentJsPostmanLaunchUuidPrint,
launchUuidPrintOutput:
options.launchUuidPrintOutput || options.reportportalAgentJsPostmanLaunchUuidPrintOutput,
};
},

Expand Down
Loading

0 comments on commit 8fe3121

Please sign in to comment.