feat: e2e_tests job is started in case if ci all jobs are successeful. In output return github.event.depolyment ststus for debug. (not a prod mode)
This commit is contained in:
parent
e7bcb4c6d4
commit
9686619243
6
.github/workflows/node-ci.yml
vendored
6
.github/workflows/node-ci.yml
vendored
|
@ -26,9 +26,13 @@ jobs:
|
||||||
run: npm run build
|
run: npm run build
|
||||||
|
|
||||||
e2e_tests:
|
e2e_tests:
|
||||||
if: github.event_name == 'deployment_status' && github.event.deployment_status.state == 'success'
|
needs: ci
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
|
- name: Debug event info
|
||||||
|
run: |
|
||||||
|
echo "Event Name: ${{ github.event_name }}"
|
||||||
|
echo "Deployment Status: ${{ github.event.deployment_status.state }}"
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- uses: actions/setup-node@v4
|
- uses: actions/setup-node@v4
|
||||||
with:
|
with:
|
||||||
|
|
Loading…
Reference in New Issue
Block a user