Skip to content

Danielle/homepage-flickers-as-it-checks-authentication #854

Danielle/homepage-flickers-as-it-checks-authentication

Danielle/homepage-flickers-as-it-checks-authentication #854

Workflow file for this run

name: Jest Unit Tests
on:
pull_request:
types: [opened, synchronize, reopened]
jobs:
jest-test:
runs-on: ubuntu-latest
env:
NEXT_PUBLIC_APPWRITE_API_URL: ${{ secrets.NEXT_PUBLIC_APPWRITE_API_URL }}
NEXT_PUBLIC_APPWRITE_PROJECT_ID: ${{ secrets.NEXT_PUBLIC_APPWRITE_PROJECT_ID }}
NEXT_PUBLIC_APPWRITE_DATABASE_ID: ${{ secrets.NEXT_PUBLIC_APPWRITE_DATABASE_ID }}
APPWRITE_API_KEY: ${{ secrets.APPWRITE_API_KEY }}
strategy:
matrix:
node-version: ['20.x']
steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v4
with:
version: 9
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
cache: 'pnpm'
- name: Install dependencies
run: pnpm install
- name: tests
run: pnpm test