-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
9cd0e86
commit 435d859
Showing
5 changed files
with
30 additions
and
5,771 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,26 +14,11 @@ jobs: | |
name: test | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Collect Workflow Telemetry | ||
uses: runforesight/foresight-workflow-kit-action@v1 | ||
if: success() || failure() | ||
with: | ||
api_key: ${{ secrets.FORESIGHT_KEY }} | ||
- uses: actions/checkout@v2 | ||
- uses: actions/setup-node@v3 | ||
- uses: actions/checkout@v4 | ||
- uses: actions/[email protected] | ||
with: | ||
node-version: 12 | ||
- run: npm ci | ||
- run: npm run lint | ||
- run: npm run test | ||
- run: npx jest --coverage --coverageReporters=cobertura | ||
- 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 | ||
test_path: ./__tests__ | ||
coverage_path: ./coverage | ||
coverage_format: COBERTURA/XML | ||
- run: npx jest --coverage --coverageReporters=cobertura |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,7 +12,7 @@ jobs: | |
name: release | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: actions/checkout@v4 | ||
with: | ||
token: ${{ secrets.PAT }} | ||
- uses: actions/[email protected] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.