Skip to content

Merge pull request #26 from Mapuppy09/snyk-fix-65796d02ff4c2ecf31c8d4… #44

Merge pull request #26 from Mapuppy09/snyk-fix-65796d02ff4c2ecf31c8d4…

Merge pull request #26 from Mapuppy09/snyk-fix-65796d02ff4c2ecf31c8d4… #44

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