Skip to content

Commit 08d1ecc

Browse files
authored
Merge pull request #103 from reportportal/develop
Release 5.1.0
2 parents 182796e + 92fa658 commit 08d1ecc

11 files changed

+1756
-1317
lines changed

.eslintrc

+3-5
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,12 @@
22
"env": {
33
"es6": true,
44
"node": true,
5-
"mocha": true
65
},
7-
"extends": ["airbnb-base", "plugin:prettier/recommended", "plugin:mocha/recommended", "plugin:jest/recommended"],
6+
"extends": ["airbnb-base", "plugin:prettier/recommended", "plugin:jest/recommended"],
87
"parserOptions": {
98
"ecmaVersion": 2018
109
},
11-
"plugins": ["prettier", "mocha", "jest"],
10+
"plugins": ["prettier", "jest"],
1211
"rules": {
1312
"prettier/prettier": 2,
1413
"no-unused-expressions": [
@@ -34,8 +33,7 @@
3433
"files": ["*.spec.js"],
3534
"rules": {
3635
"func-names":"off",
37-
"jest/valid-expect": 0,
38-
"mocha/no-pending-tests": 0
36+
"jest/valid-expect": 0
3937
}
4038
}]
4139
}

.github/workflows/CI-pipeline.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright 2020 EPAM Systems
1+
# Copyright 2024 EPAM Systems
22
# Licensed under the Apache License, Version 2.0 (the "License");
33
# you may not use this file except in compliance with the License.
44
# You may obtain a copy of the License at
@@ -25,11 +25,11 @@ jobs:
2525
runs-on: ubuntu-latest
2626
steps:
2727
- name: Checkout repository
28-
uses: actions/checkout@v3
28+
uses: actions/checkout@v4
2929
- name: Set up Node.js
30-
uses: actions/setup-node@v3
30+
uses: actions/setup-node@v4
3131
with:
32-
node-version: 18
32+
node-version: 20
3333
- name: Install of node dependencies
3434
run: npm install
3535
- name: Run lint

.github/workflows/publish.yml

+9-9
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright 2020 EPAM Systems
1+
# Copyright 2024 EPAM Systems
22
# Licensed under the Apache License, Version 2.0 (the "License");
33
# you may not use this file except in compliance with the License.
44
# You may obtain a copy of the License at
@@ -22,11 +22,11 @@ jobs:
2222
runs-on: ubuntu-latest
2323
steps:
2424
- name: Checkout repository
25-
uses: actions/checkout@v3
25+
uses: actions/checkout@v4
2626
- name: Set up Node.js
27-
uses: actions/setup-node@v3
27+
uses: actions/setup-node@v4
2828
with:
29-
node-version: 18
29+
node-version: 20
3030
- name: Install of node dependencies
3131
run: npm install
3232
- name: Run lint
@@ -39,11 +39,11 @@ jobs:
3939
runs-on: ubuntu-latest
4040
steps:
4141
- name: Checkout repository
42-
uses: actions/checkout@v3
42+
uses: actions/checkout@v4
4343
- name: Set up Node.js
44-
uses: actions/setup-node@v3
44+
uses: actions/setup-node@v4
4545
with:
46-
node-version: 18
46+
node-version: 20
4747
registry-url: 'https://registry.npmjs.org'
4848
- name: Install of node dependencies
4949
run: npm install
@@ -55,9 +55,9 @@ jobs:
5555
env:
5656
NODE_AUTH_TOKEN: ${{ secrets.NPM_ACCESS_TOKEN }}
5757
- name: Set up Node.js
58-
uses: actions/setup-node@v3
58+
uses: actions/setup-node@v4
5959
with:
60-
node-version: 18
60+
node-version: 20
6161
registry-url: 'https://npm.pkg.github.com'
6262
scope: '@reportportal'
6363
- name: Publish to GPR

.github/workflows/release.yml

+6-5
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright 2020 EPAM Systems
1+
# Copyright 2024 EPAM Systems
22
# Licensed under the Apache License, Version 2.0 (the "License");
33
# you may not use this file except in compliance with the License.
44
# You may obtain a copy of the License at
@@ -29,7 +29,7 @@ jobs:
2929
releaseVersion: ${{ steps.exposeVersion.outputs.releaseVersion }}
3030
steps:
3131
- name: Checkout repository
32-
uses: actions/checkout@v3
32+
uses: actions/checkout@v4
3333
- name: Read version
3434
id: readVersion
3535
run: |
@@ -74,9 +74,9 @@ jobs:
7474
versionInfo: ${{ steps.readChangelogEntry.outputs.log_entry }}
7575
steps:
7676
- name: Checkout repository
77-
uses: actions/checkout@v3
77+
uses: actions/checkout@v4
7878
- name: Setup NodeJS
79-
uses: actions/setup-node@v3
79+
uses: actions/setup-node@v4
8080
with:
8181
node-version: '12'
8282
- name: Configure git
@@ -126,6 +126,7 @@ jobs:
126126
echo "patch" > ${{ env.versionFragmentFileName }}
127127
git status
128128
git add ${{ env.versionFileName }}
129+
git add ${{ env.versionFragmentFileName }}
129130
git commit -m "${{ needs.calculate-version.outputs.releaseVersion }} -> ${{ steps.bumpSnapshotVersion.outputs.next-version }}-SNAPSHOT"
130131
git push origin develop
131132
@@ -134,7 +135,7 @@ jobs:
134135
runs-on: ubuntu-latest
135136
steps:
136137
- name: Checkout repository
137-
uses: actions/checkout@v3
138+
uses: actions/checkout@v4
138139
- name: Create Release
139140
id: createRelease
140141
uses: actions/create-release@v1

CHANGELOG.md

+9-5
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,11 @@
1+
### Changed
2+
- **Breaking change** Drop support of Node.js 10. The version [5.0.4](https://github.com/reportportal/agent-js-mocha/releases/tag/v5.0.4) is the latest that supports it.
3+
- `@reportportal/client-javascript` bumped to version `5.1.4`, new `launchUuidPrintOutput` types introduced: 'FILE', 'ENVIRONMENT'.
4+
- `mocha` bumped to version `10.7.0`.
5+
### Security
6+
- Updated versions of vulnerable packages (braces).
7+
### Deprecated
8+
- Node.js 12 usage. This minor version is the latest that supports Node.js 12.
19

210
## [5.0.4] - 2024-01-19
311
### Deprecated
@@ -15,14 +23,11 @@
1523
- `skippedIssue` config property processing using .mocharc or string values
1624
- Skipped test duplication
1725
- Config attributes parsing using .mocharc
18-
1926
### Security
2027
- Versions of several vulnerable dependencies updated
21-
2228
### Added
2329
- `mode` option for submitting results to Debug tab
2430
- Latest error log to the step description
25-
2631
### Changed
2732
- Package size reduced
2833

@@ -33,7 +38,6 @@
3338
## [5.0.0] - 2020-06-22
3439
### Added
3540
- Full compatibility with ReportPortal version 5.* (see [reportportal releases](https://github.com/reportportal/reportportal/releases))
36-
- API to extend the functionality of the reporter (see [Additional reporting functionality](https://github.com/reportportal/agent-js-mocha#additional-reporting-functionality))
37-
41+
- API to extend the functionality of the reporter (see [Additional reporting functionality](https://github.com/reportportal/agent-js-mocha#reporting))
3842
### Deprecated
3943
- Previous package version [rp-mocha-reporter](https://www.npmjs.com/package/rp-mocha-reporter) will no longer supported by reportportal.io

0 commit comments

Comments
 (0)