chore: use foresight

This commit is contained in:
DIYgod 2022-10-10 18:10:52 +01:00
parent 8b97dce251
commit 2bd4fd7b8d
No known key found for this signature in database
GPG Key ID: D159328F47A80DCA
1 changed files with 13 additions and 0 deletions

View File

@ -32,6 +32,11 @@ jobs:
node-version: [ 14, 16 ]
name: Jest on Node ${{ matrix.node-version }}
steps:
- name: Collect Workflow Telemetry
uses: runforesight/foresight-workflow-kit-action@v1
if: success() || failure()
with:
api_key: ${{ secrets.FORESIGHT_KEY }}
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
@ -48,6 +53,14 @@ jobs:
uses: codecov/codecov-action@v3
with:
token: ${{ secrets.CODECOV_TOKEN }} # not required for public repos as documented, but seems broken
- name: Analyze Test and/or Coverage Results
uses: runforesight/foresight-test-kit-action@v1
if: success() || failure()
with:
api_key: ${{ secrets.FORESIGHT_KEY }}
test_format: JUNIT
test_framework: JEST
coverage_format: JACOCO/XML
puppeteer:
runs-on: ubuntu-latest