forked from bitfinexcom/bfx-report-electron
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request bitfinexcom#344 from ZIMkaRU/feature/update-gh-act…
…ions-to-use-nodejs-v20 Update gh actions to use nodejs v20
- Loading branch information
Showing
4 changed files
with
48 additions
and
16 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
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 |
---|---|---|
|
@@ -18,27 +18,50 @@ jobs: | |
runs-on: ubuntu-22.04 | ||
if: ${{ github.event.workflow_run.conclusion == 'success' }} | ||
steps: | ||
- uses: dorny/test-reporter@v1 | ||
- name: Download Linux E2E test results | ||
uses: actions/download-artifact@v4 | ||
with: | ||
run-id: ${{ github.event.workflow_run.id }} | ||
github-token: ${{ secrets.GITHUB_TOKEN }} | ||
name: linux-e2e-test-results | ||
path: linux-e2e-test-results | ||
- uses: dorny/[email protected] | ||
id: linux-e2e-test-results | ||
with: | ||
artifact: linux-e2e-test-results | ||
name: Linux E2E Tests | ||
path: e2e-test-report.xml | ||
path: linux-e2e-test-results/e2e-test-report.xml | ||
reporter: jest-junit | ||
- uses: dorny/test-reporter@v1 | ||
# Workaround for error 'fatal: not a git repository' caused by a call to 'git ls-files' | ||
# See: https://github.com/dorny/test-reporter/issues/169#issuecomment-1583560458 | ||
max-annotations: 0 | ||
- name: Download Win E2E test results | ||
uses: actions/download-artifact@v4 | ||
with: | ||
run-id: ${{ github.event.workflow_run.id }} | ||
github-token: ${{ secrets.GITHUB_TOKEN }} | ||
name: win-e2e-test-results | ||
path: win-e2e-test-results | ||
- uses: dorny/[email protected] | ||
id: win-e2e-test-results | ||
with: | ||
artifact: win-e2e-test-results | ||
name: Win E2E Tests | ||
path: e2e-test-report.xml | ||
path: win-e2e-test-results/e2e-test-report.xml | ||
reporter: jest-junit | ||
- uses: dorny/test-reporter@v1 | ||
max-annotations: 0 | ||
- name: Download Mac E2E test results | ||
uses: actions/download-artifact@v4 | ||
with: | ||
run-id: ${{ github.event.workflow_run.id }} | ||
github-token: ${{ secrets.GITHUB_TOKEN }} | ||
name: mac-e2e-test-results | ||
path: mac-e2e-test-results | ||
- uses: dorny/[email protected] | ||
id: mac-e2e-test-results | ||
with: | ||
artifact: mac-e2e-test-results | ||
name: Mac E2E Tests | ||
path: e2e-test-report.xml | ||
path: mac-e2e-test-results/e2e-test-report.xml | ||
reporter: jest-junit | ||
max-annotations: 0 | ||
- name: E2E Test Report Summary | ||
run: | | ||
echo "### E2E Test Report page is ready! :rocket:" >> $GITHUB_STEP_SUMMARY | ||
|
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 |
---|---|---|
|
@@ -18,13 +18,22 @@ jobs: | |
runs-on: ubuntu-22.04 | ||
if: ${{ github.event.workflow_run.conclusion == 'success' }} | ||
steps: | ||
- uses: dorny/test-reporter@v1 | ||
- name: Download test results | ||
uses: actions/download-artifact@v4 | ||
with: | ||
run-id: ${{ github.event.workflow_run.id }} | ||
github-token: ${{ secrets.GITHUB_TOKEN }} | ||
name: test-results | ||
path: test-results | ||
- uses: dorny/[email protected] | ||
id: test-results | ||
with: | ||
artifact: test-results | ||
name: Mocha Tests | ||
path: test-report.json | ||
path: test-results/test-report.json | ||
reporter: mocha-json | ||
# Workaround for error 'fatal: not a git repository' caused by a call to 'git ls-files' | ||
# See: https://github.com/dorny/test-reporter/issues/169#issuecomment-1583560458 | ||
max-annotations: 0 | ||
- name: Test Report Summary | ||
run: | | ||
echo "### Test Report page is ready! :rocket:" >> $GITHUB_STEP_SUMMARY | ||
|