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.0.3 #89

Merged
merged 10 commits into from
Jan 19, 2024
Merged
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
16 changes: 8 additions & 8 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,9 +51,9 @@ jobs:
run: npm ci
- name: Publish to NPM
run: |
npm config set //registry.npmjs.org/:_authToken=$NODE_AUTH_TOKEN
npm config list
npm publish --access public
npm config set //registry.npmjs.org/:_authToken=$NODE_AUTH_TOKEN
npm config list
npm publish --access public
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_ACCESS_TOKEN }}
- name: Set up Node.js
Expand All @@ -64,9 +64,9 @@ jobs:
scope: '@reportportal'
- name: Publish to GPR
run: |
npm config set //npm.pkg.github.com/:_authToken=$NODE_AUTH_TOKEN
npm config set scope '@reportportal'
npm config list
npm publish
npm config set //npm.pkg.github.com/:_authToken=$NODE_AUTH_TOKEN
npm config set scope '@reportportal'
npm config list
npm publish
env:
NODE_AUTH_TOKEN: ${{ secrets.GH_TOKEN }}
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
13 changes: 7 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,6 +127,7 @@ 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"
Expand All @@ -137,12 +138,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 +154,5 @@ jobs:
if: success()
uses: peter-evans/repository-dispatch@v1
with:
token: ${{ secrets.GH_TOKEN }}
token: ${{ secrets.GITHUB_TOKEN }}
event-type: version-released
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
### Changed
- `@reportportal/client-javascript` bumped to version `5.0.15`.
### Deprecated
- Node.js 10 usage. This version is the latest that supports Node.js 10.
### Fixed
- [#86](https://github.com/reportportal/agent-js-jasmine/issues/86) `DEBUG` mode has no effect.

## [5.0.2] - 2023-07-20
### Fixed
Expand Down
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
5.0.2
5.0.3-SNAPSHOT
3 changes: 2 additions & 1 deletion lib/specificUtils.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
});
},
(error) => {
console.dir(error);

Check warning on line 42 in lib/specificUtils.js

View workflow job for this annotation

GitHub Actions / test

Unexpected console statement

Check warning on line 42 in lib/specificUtils.js

View workflow job for this annotation

GitHub Actions / test

Unexpected console statement
promiseResolve(null);
}
);
Expand Down Expand Up @@ -78,7 +78,8 @@
},
conf.id && { id: conf.id },
conf.rerun && { rerun: conf.rerun },
conf.rerunOf && { rerunOf: conf.rerunOf }
conf.rerunOf && { rerunOf: conf.rerunOf },
conf.mode && { mode: conf.mode }
);

return launchObj;
Expand Down Expand Up @@ -159,7 +160,7 @@
},

makeHooksWrapper(wrapped, funcStart, funcFinish) {
return function (action, timeout) {

Check warning on line 163 in lib/specificUtils.js

View workflow job for this annotation

GitHub Actions / test

Unexpected unnamed function

Check warning on line 163 in lib/specificUtils.js

View workflow job for this annotation

GitHub Actions / test

Unexpected unnamed function
wrapped((done) => {
let isFuncBeCalled = true;

Expand Down
10 changes: 5 additions & 5 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@
"description": "Agent for integration Jasmine with ReportPortal.",
"main": "./lib/reportportal-agent",
"scripts": {
"lint": "eslint . --quiet",
"lint": "eslint .",
"format": "npm run lint -- --fix",
"test": "nyc ./node_modules/jasmine/bin/jasmine.js",
"test:coverage": "nyc report --reporter=lcov --reporter=text-summary"
},
"dependencies": {
"@reportportal/client-javascript": "^5.0.12"
"@reportportal/client-javascript": "~5.0.15"
},
"devDependencies": {
"codecov": "^3.8.3",
Expand Down
Loading