mirror of
https://github.com/nasa/openmct.git
synced 2024-12-22 06:27:48 +00:00
d114353556
* [CI] Update PR Cop to run on more events * Update prcop.yml * Update prcop.yml * Update e2e PR * Update e2e-visual.yml
26 lines
647 B
YAML
26 lines
647 B
YAML
name: "e2e-visual"
|
|
on:
|
|
workflow_dispatch:
|
|
pull_request:
|
|
types:
|
|
- labeled
|
|
- opened
|
|
schedule:
|
|
- cron: '28 21 * * 1-5'
|
|
|
|
jobs:
|
|
e2e-visual:
|
|
if: ${{ github.event.label.name == 'pr:visual' }} || ${{ github.event.workflow_dispatch }} || ${{ github.event.schedule }}
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
- uses: actions/setup-node@v2
|
|
with:
|
|
node-version: '16'
|
|
- run: npx playwright install-deps
|
|
- run: npm install
|
|
- name: Run the e2e visual tests
|
|
run: npm run test:e2e:visual
|
|
env:
|
|
PERCY_TOKEN: ${{ secrets.PERCY_TOKEN }}
|