![Create React App Officially Deprecated Amid React 19 Compatibility Issues](https://cdn.sanity.io/images/cgdhsj6q/production/04fa08cf844d798abc0e1a6391c129363cc7e2ab-1024x1024.webp?w=400&fit=max&auto=format)
Security News
Create React App Officially Deprecated Amid React 19 Compatibility Issues
Create React App is officially deprecated due to React 19 issues and lack of maintenance—developers should switch to Vite or other modern alternatives.
@smartbear/one-report-publisher
Advanced tools
This is a tool that publishes test results to SmartBear OneReport. It is intended to be used in Continuous Integration workflows.
The tool supports the following file formats:
If the publisher is executed on a supported CI server, it will also send the following git metadata along with the test results:
Add a step after all tests have run. The if: ${{ always() }}
ensures results are published even if a previous test
step failed.
- name: 'Publish to OneReport'
if: ${{ always() }}
uses: smartbear/one-report-publisher@v0.6.0
with:
# Can be omitted if ONE_REPORT_PROJECT_ID is defined
project-id: F5222E06-BA05-4C82-949A-2FE537B6F59F
# Can be omitted if ONE_REPORT_TOKEN is defined
token: ${{ secrets.ONE_REPORT_TOKEN }}
# Can be omitted if ONE_REPORT_URL is defined
url: ${{ env.ONE_REPORT_URL }}
reports: ./reports/**/*.{xml,json,ndjson,zip}
See action.yml for a full reference of available input options.
The command-line tool can be used in any CI pipeline that has the npx
command available (it needs to have Node.js installed).
npx @smartbear/one-report-publisher@v0.6.0 --help
Usage: one-report-publisher [options]
Options:
-u, --url <url> OneReport URL. Defaults to $ONE_REPORT_URL
-p, --project-id <id> OneReport project id. Defaults to $ONE_REPORT_PROJECT_ID
-t, --token <token> OneReport token. Defaults to $ONE_REPORT_TOKEN
-r, --reports <glob...> Glob to the files to publish
-m, --max-time <seconds> Max time for each request
-i, --ignore-error Exit with 0 even if a timeout or error occurred
--no-zip Do not zip non .zip files
-h, --help display help for command
Example:
npx @smartbear/one-report-publisher@0.6.0 \
--project-id F5222E06-BA05-4C82-949A-2FE537B6F59F \
--token ${ONE_REPORT_TOKEN} \
--reports ./reports/**/*.{xml,json,ndjson,zip}
Add a step after all tests have run. You have to make sure the command is running in a docker image that has Node.js installed (for example cimg/node).
- run:
name: Publish test results to OneReport
command: |
npx @smartbear/one-report-publisher@0.6.0 \
--project-id F5222E06-BA05-4C82-949A-2FE537B6F59F \
--token ${ONE_REPORT_TOKEN} \
--reports ./reports/**/*.{xml,json,ndjson,zip}
[0.6.0] - 2022-07-05
--organization
command-line option to --project-id
.organization
GitHub action input to project-id
.ONE_REPORT_ORGANIZATION
environment variable to ONE_REPORT_PROJECT_ID
FAQs
Publish Test Results to SmartBear OneReport
The npm package @smartbear/one-report-publisher receives a total of 0 weekly downloads. As such, @smartbear/one-report-publisher popularity was classified as not popular.
We found that @smartbear/one-report-publisher demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 14 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Create React App is officially deprecated due to React 19 issues and lack of maintenance—developers should switch to Vite or other modern alternatives.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Security News
The Linux Foundation is warning open source developers that compliance with global sanctions is mandatory, highlighting legal risks and restrictions on contributions.