Add background to FamilySearch Import Modal #1827
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Unit tests | |
on: | |
pull_request: | |
workflow_dispatch: | |
push: | |
branches: | |
- main | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: '18' | |
- uses: actions/cache@v4 | |
with: | |
path: node_modules | |
key: ${{ runner.os }}-node_modules-${{ hashFiles('**/package-lock.json') }} | |
restore-keys: | | |
${{ runner.os }}-node_modules- | |
- name: Install dependencies | |
run: npm install | |
- name: Run unit tests | |
env: | |
GOOGLE_API_KEY: ${{ secrets.GOOGLE_API_KEY_DEV }} | |
FIREBASE_API_KEY: ${{ secrets.FIREBASE_API_KEY_DEV }} | |
STRIPE_API_KEY: ${{ secrets.STRIPE_TEST_KEY }} | |
run: npm run coverage:ci | |
- name: Upload report to codecov | |
uses: codecov/codecov-action@v4 | |
with: | |
token: ${{ secrets.CODECOV_TOKEN }} |