Skip to content

Bugfix/new donation flow issues #1037

Bugfix/new donation flow issues

Bugfix/new donation flow issues #1037

Workflow file for this run

name: Component Tests
on:
workflow_dispatch:
pull_request:
branches: [master]
jobs:
run-jest:
runs-on: ubuntu-latest
strategy:
max-parallel: 1
matrix:
node-version: [18.x]
steps:
- uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
- name: Get yarn cache directory path
id: yarn-cache-dir-path
run: echo "dir=$(yarn config get cacheFolder)" >> $GITHUB_OUTPUT
- uses: actions/cache@v4
with:
path: |
${{ steps.yarn-cache-dir-path.outputs.dir }}
**/.next/cache
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
restore-keys: |
${{ runner.os }}-yarn-
- name: Install dependencies
run: yarn
if: steps.yarn-cache.outputs.cache-hit != 'true'
- name: Run tests
run: yarn test --ci