Skip to content

Commit 2c4550b

Browse files
committed
chore: Update test workflow
1 parent 9fd3f00 commit 2c4550b

File tree

1 file changed

+13
-25
lines changed

1 file changed

+13
-25
lines changed

.github/workflows/test.yaml

Lines changed: 13 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -9,48 +9,34 @@ on:
99
- "**"
1010

1111
jobs:
12-
lint:
13-
runs-on: ubuntu-latest
14-
steps:
15-
- name: Checkout
16-
uses: actions/checkout@v4
17-
- name: Setup node
18-
uses: actions/setup-node@v4
19-
with:
20-
node-version: '20'
21-
check-latest: true
22-
- name: Setup pnpm
23-
uses: pnpm/action-setup@v4
24-
with:
25-
version: latest
26-
- name: Install dependencies
27-
run: pnpm install
28-
- name: Run ESLint on core packages
29-
run: pnpm --filter="@firebase-ui/*" run lint
30-
- name: Run ESLint on example apps
31-
run: pnpm --filter="angular-example" --filter="nextjs" --filter="react" run lint
32-
- name: Check Prettier formatting
33-
run: pnpm format:check
3412

3513
test:
3614
runs-on: ubuntu-latest
3715
steps:
3816
- name: Checkout
3917
uses: actions/checkout@v4
18+
4019
- name: Setup node
4120
uses: actions/setup-node@v4
4221
with:
4322
node-version: '20'
4423
check-latest: true
24+
4525
- name: Setup pnpm
4626
uses: pnpm/action-setup@v4
4727
with:
4828
version: latest
29+
4930
- name: Install dependencies
5031
run: pnpm install
32+
33+
- name: Build packages
34+
run: pnpm run build
35+
5136
- name: Install Firebase CLI
5237
run: npm i -g [email protected]
53-
- name: Start Firebase emulator and run tests
38+
39+
- name: Start Firebase emulator
5440
run: |
5541
firebase emulators:start --only auth --project demo-test &
5642
sleep 15
@@ -59,5 +45,7 @@ jobs:
5945
echo "Waiting for emulator to start..."
6046
sleep 2
6147
done
62-
echo "Emulator is ready, running tests..."
63-
pnpm test
48+
echo "Emulator is ready"
49+
50+
- name: Run tests
51+
run: pnpm test

0 commit comments

Comments
 (0)