Skip to content

test: fix test

test: fix test #2429

Workflow file for this run

name: CI
on: [push]
jobs:
test:
name: Lint & Test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: "14"
- name: Install Packages
run: npm ci
- name: Check Lint
run: npm run lint
- name: Test
if: ${{ !contains(github.event.head_commit.message, '[skip test]') }}
run: npm run test
- name: Build
run: npm run build:test
- name: Integration - testcafe
id: testcafe
if: ${{ !contains(github.event.head_commit.message, '[skip test]') }}
run: npm run integration:headless:prod
- 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