mirror of
https://github.com/n8n-io/n8n.git
synced 2024-11-09 22:24:05 -08:00
ci(editor): Add final checking step after PR E2E run (no-changelog) (#5914)
* ci(editor): Add final checking step after PR E2E run (no-changelog) * Fix spacing * Fix markdown
This commit is contained in:
parent
dba5be37ae
commit
b1e1c5b306
23
.github/workflows/e2e-tests-pr.yml
vendored
23
.github/workflows/e2e-tests-pr.yml
vendored
|
@ -32,3 +32,26 @@ jobs:
|
||||||
run-env: base:16.18.1
|
run-env: base:16.18.1
|
||||||
secrets:
|
secrets:
|
||||||
CYPRESS_RECORD_KEY: ${{ secrets.CYPRESS_RECORD_KEY }}
|
CYPRESS_RECORD_KEY: ${{ secrets.CYPRESS_RECORD_KEY }}
|
||||||
|
|
||||||
|
post-e2e-tests:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
name: E2E [Electron/Node 16] - Checks
|
||||||
|
needs: [run-e2e-tests]
|
||||||
|
steps:
|
||||||
|
- name: E2E success comment
|
||||||
|
if: success()
|
||||||
|
uses: peter-evans/create-or-update-comment@v3
|
||||||
|
with:
|
||||||
|
issue-number: ${{ github.event.pull_request.number }}
|
||||||
|
body: |
|
||||||
|
:white_check_mark: All Cypress E2E specs passed
|
||||||
|
token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
|
||||||
|
- name: E2E fail comment
|
||||||
|
if: failure()
|
||||||
|
uses: peter-evans/create-or-update-comment@v3
|
||||||
|
with:
|
||||||
|
issue-number: ${{ github.event.pull_request.number }}
|
||||||
|
body: |
|
||||||
|
:warning: Some Cypress E2E specs are failing, please fix them before merging
|
||||||
|
token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
|
Loading…
Reference in a new issue