You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
on:
# Triggers the workflow manually via the GitHub UIworkflow_dispatch:
inputs:
debug_enabled:
description: 'Run the build with tmate debugging enabled (https://github.com/marketplace/actions/debugging-with-tmate)'required: falsedefault: false# Trigger the workflow when a pull_request's activity type is opened,# synchronize, or reopened.pull_request:
# Trigger the workflow on pushpush:
branches:
- dev# use tmate in one of the jobs# Enable tmate debugging of manually-triggered workflows if the input# option was provided
- name: Setup tmate sessionuses: mxschmitt/action-tmate@v3if: ${{ github.event_name == 'workflow_dispatch' && github.event.inputs.debug_enabled }}
# Test
- name: Run Cypress Integration Testsrun: npm run test:cypress:runworking-directory: client# If the test fails, provide videos for debugging# TODO: conditionally enable `video: true` in cypress config
- uses: actions/upload-artifact@v2if: failure()with:
name: cypress-videospath: cypress/videos/
Motivation
The changes should reduce the number of minutes the workflows consume.
The text was updated successfully, but these errors were encountered:
Feature Request
Optimize and as a result, reduce GitHub Actions.
Examples and GitHub Actions
Triggers
Cypress Debugging
Motivation
The changes should reduce the number of minutes the workflows consume.
The text was updated successfully, but these errors were encountered: