Thanks to visit codestin.com
Credit goes to github.com

Skip to content

feat(*): migrate to vitest for angular #158

feat(*): migrate to vitest for angular

feat(*): migrate to vitest for angular #158

Workflow file for this run

name: Test
on:
push:
branches:
- "**"
pull_request:
branches:
- "**"
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup node
uses: actions/setup-node@v4
with:
node-version: '20'
check-latest: true
- name: Setup pnpm
uses: pnpm/action-setup@v4
with:
version: latest
- name: Install dependencies
run: pnpm install
- name: Install Firebase CLI
run: npm i -g [email protected]
- name: Start Firebase emulator and run tests
run: |
firebase emulators:start --only auth --project demo-test &
sleep 15
# Wait for emulator to be ready
until wget -q --spider http://localhost:9099 2>/dev/null; do
echo "Waiting for emulator to start..."
sleep 2
done
echo "Emulator is ready, running tests..."
pnpm test