Skip to content

Simplify the program and use dynamic loading of the snapshots #1

Simplify the program and use dynamic loading of the snapshots

Simplify the program and use dynamic loading of the snapshots #1

Workflow file for this run

# .github/workflows/pr.yml
name: Pull Request Tests
on:
pull_request:
branches:
- main
- develop
- '*'
jobs:
build-and-test:
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v3
- name: Setup Node.js Environment
uses: actions/setup-node@v3
with:
node-version: '14'
cache: 'yarn'
- name: Install Dependencies
run: yarn install --frozen-lockfile
- name: Run React Component Tests
run: yarn test -- --ci --watchAll=false
- name: Run Node.js Script Tests
run: yarn test:scripts
# Optionally, you can upload test coverage reports or other artifacts
- name: Upload Coverage Report
uses: actions/upload-artifact@v3
with:
name: coverage-report
path: coverage/