Skip to content

Commit 24dcfd9

Browse files
authored
Merge pull request #25 from reportportal/develop
Release 5.0.1
2 parents b8c3d93 + 5b03d6d commit 24dcfd9

16 files changed

+4970
-4849
lines changed

.eslintrc

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"extends": [
77
"airbnb-typescript/base",
88
"plugin:@typescript-eslint/recommended",
9-
"prettier/@typescript-eslint",
9+
"plugin:import/recommended",
1010
"plugin:prettier/recommended"
1111
],
1212
"plugins": ["prettier"],
@@ -18,7 +18,7 @@
1818
"parserOptions": {
1919
"ecmaVersion": 2018,
2020
"sourceType": "module",
21-
"project": "./tsconfig.json"
21+
"project": "./tsconfig.eslint.json"
2222
},
2323
"rules": {
2424
"no-plusplus": 0,
@@ -30,7 +30,9 @@
3030
"func-names": 0,
3131
"import/prefer-default-export": 0,
3232
"@typescript-eslint/ban-ts-ignore": 0,
33+
"@typescript-eslint/ban-ts-comment": 0,
3334
"@typescript-eslint/no-implied-eval": 0,
34-
"dot-notation": 0
35+
"@typescript-eslint/dot-notation": 0,
36+
"@typescript-eslint/naming-convention": 0
3537
}
3638
}

.github/CODEOWNERS

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
* @AmsterGet

.github/workflows/CI-pipeline.yml

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -28,18 +28,16 @@ jobs:
2828
runs-on: ubuntu-latest
2929
steps:
3030
- name: Checkout repository
31-
uses: actions/checkout@v2
31+
uses: actions/checkout@v3
3232
- name: Set up Node.js
33-
uses: actions/setup-node@v1
33+
uses: actions/setup-node@v3
3434
with:
35-
node-version: 12.x
35+
node-version: 18
3636
- name: Clean install of node dependencies
3737
run: npm ci
3838
- name: Build the source code
3939
run: npm run build
4040
- name: Run lint
4141
run: npm run lint
42-
- name: Run tests
43-
run: npm test
44-
- name: Check coverage
42+
- name: Run tests and check coverage
4543
run: npm run test:coverage

.github/workflows/publish.yml

Lines changed: 10 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -22,32 +22,30 @@ jobs:
2222
runs-on: ubuntu-latest
2323
steps:
2424
- name: Checkout repository
25-
uses: actions/checkout@v2
25+
uses: actions/checkout@v3
2626
- name: Set up Node.js
27-
uses: actions/setup-node@v1
27+
uses: actions/setup-node@v3
2828
with:
29-
node-version: 12.x
29+
node-version: 18
3030
- name: Clean install of node dependencies
3131
run: npm ci
3232
- name: Build the source code
3333
run: npm run build
3434
- name: Run lint
3535
run: npm run lint
36-
- name: Run tests
37-
run: npm test
38-
- name: Check coverage
36+
- name: Run tests and check coverage
3937
run: npm run test:coverage
4038

4139
publish-to-npm-and-gpr:
4240
needs: build
4341
runs-on: ubuntu-latest
4442
steps:
4543
- name: Checkout repository
46-
uses: actions/checkout@v2
44+
uses: actions/checkout@v3
4745
- name: Set up Node.js
48-
uses: actions/setup-node@v1
46+
uses: actions/setup-node@v3
4947
with:
50-
node-version: 12.x
48+
node-version: 18
5149
registry-url: 'https://registry.npmjs.org'
5250
- name: Clean install of node dependencies
5351
run: npm ci
@@ -61,9 +59,9 @@ jobs:
6159
env:
6260
NODE_AUTH_TOKEN: ${{ secrets.NPM_ACCESS_TOKEN }}
6361
- name: Set up Node.js
64-
uses: actions/setup-node@v1
62+
uses: actions/setup-node@v3
6563
with:
66-
node-version: 12.x
64+
node-version: 18
6765
registry-url: 'https://npm.pkg.github.com'
6866
scope: '@reportportal'
6967
- name: Publish to GPR
@@ -73,4 +71,4 @@ jobs:
7371
npm config list
7472
npm publish
7573
env:
76-
NODE_AUTH_TOKEN: ${{ secrets.GH_TOKEN }}
74+
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}

.github/workflows/release.yml

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ jobs:
3333
releaseVersion: ${{ steps.exposeVersion.outputs.releaseVersion }}
3434
steps:
3535
- name: Checkout repository
36-
uses: actions/checkout@v2
36+
uses: actions/checkout@v3
3737
- name: Read version
3838
id: readVersion
3939
run: |
@@ -78,7 +78,11 @@ jobs:
7878
versionInfo: ${{ steps.readChangelogEntry.outputs.log_entry }}
7979
steps:
8080
- name: Checkout repository
81-
uses: actions/checkout@v2
81+
uses: actions/checkout@v3
82+
- name: Setup NodeJS
83+
uses: actions/setup-node@v3
84+
with:
85+
node-version: '12'
8286
- name: Configure git
8387
run: |
8488
git config --global user.email "reportportal.io"
@@ -123,6 +127,7 @@ jobs:
123127
git checkout develop
124128
git merge master -Xtheirs --allow-unrelated-histories
125129
echo "${{ steps.bumpSnapshotVersion.outputs.next-version }}-SNAPSHOT" > ${{ env.versionFileName }}
130+
echo "patch" > ${{ env.versionFragmentFileName }}
126131
git status
127132
git add ${{ env.versionFileName }}
128133
git commit -m "${{ needs.calculate-version.outputs.releaseVersion }} -> ${{ steps.bumpSnapshotVersion.outputs.next-version }}-SNAPSHOT"
@@ -133,12 +138,12 @@ jobs:
133138
runs-on: ubuntu-latest
134139
steps:
135140
- name: Checkout repository
136-
uses: actions/checkout@v2
141+
uses: actions/checkout@v3
137142
- name: Create Release
138143
id: createRelease
139144
uses: actions/create-release@v1
140145
env:
141-
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
146+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
142147
with:
143148
tag_name: v${{ needs.calculate-version.outputs.releaseVersion }}
144149
release_name: Release v${{ needs.calculate-version.outputs.releaseVersion }}
@@ -149,5 +154,5 @@ jobs:
149154
if: success()
150155
uses: peter-evans/repository-dispatch@v1
151156
with:
152-
token: ${{ secrets.GH_TOKEN }}
157+
token: ${{ secrets.GITHUB_TOKEN }}
153158
event-type: version-released

.npmignore

Lines changed: 0 additions & 6 deletions
This file was deleted.

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
### Changed
2+
- `@reportportal/client-javascript` bumped to version `5.0.15`.
3+
- Package size reduced
4+
### Deprecated
5+
- Node.js 10 usage. This version is the latest that supports Node.js 10.
16

27
## [5.0.0] - 2021-08-11
38
### Added

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# @reportportal/agent-js-testcafe
22

3-
Agent for integration TestCafe with ReportPortal.
3+
Agent to integrate TestCafe with ReportPortal.
44
* More about [TestCafe](https://testcafe.io/)
55
* More about [ReportPortal](http://reportportal.io/)
66

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
5.0.0
1+
5.0.1-SNAPSHOT

0 commit comments

Comments
 (0)