Skip to content

Merge pull request #19 from Mapuppy09/snyk-fix-cc172060cc1b449f95c224… #32

Merge pull request #19 from Mapuppy09/snyk-fix-cc172060cc1b449f95c224…

Merge pull request #19 from Mapuppy09/snyk-fix-cc172060cc1b449f95c224… #32

Workflow file for this run

name: Testcafe
on:
push:
branches:
- master
pull_request:
jobs:
testcafe:
name: Testcafe e2e Test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 18.x
- name: Install Packages
if: ${{ !contains(github.event.pull_request.title, '[skip test]') }}
run: npm ci
- name: Build
if: ${{ !contains(github.event.pull_request.title, '[skip test]') }}
run: npm run build:test
- name: Integration - testcafe
if: ${{ !contains(github.event.pull_request.title, '[skip test]') }}
id: testcafe
run: npm run integration:testcafe:ci
- name: Upload Artifact
if: ${{ failure() && steps.testcafe.outcome == 'failure' }}
uses: actions/upload-artifact@v3
with:
name: testcafe-fail-screenshots
path: artifacts
if-no-files-found: ignore
retention-days: 1