Skip to content

List all accepted archives at end of Glam onboarding #1825

List all accepted archives at end of Glam onboarding

List all accepted archives at end of Glam onboarding #1825

Workflow file for this run

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 }}