Skip to content

Commit

Permalink
update workflow file
Browse files Browse the repository at this point in the history
  • Loading branch information
avalos010 committed Jun 12, 2023
1 parent bca1119 commit ee3b0e0
Showing 1 changed file with 11 additions and 4 deletions.
15 changes: 11 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,19 +1,26 @@
name: ci
# https://docs.github.com/en/actions/reference/events-that-trigger-workflows
on: [deployment, deployment_status]

on:
deployment_status:

jobs:
e2e:
# only runs this job on successful deploy
if: github.event_name == 'deployment_status' && github.event.deployment_status.state == 'success'
runs-on: ubuntu-latest

steps:
- name: Dump GitHub context
env:
GITHUB_CONTEXT: ${{ toJson(github) }}
run: |
echo "$GITHUB_CONTEXT"
- name: Checkout🛎
- name: Checkout
uses: actions/checkout@v3

- name: Update Lockfile and Install Dependencies
run: yarn install --check-files

- name: Run Cypress 🌲
uses: cypress-io/github-action@v5
env:
Expand Down

0 comments on commit ee3b0e0

Please sign in to comment.