File tree Expand file tree Collapse file tree 1 file changed +13
-25
lines changed Expand file tree Collapse file tree 1 file changed +13
-25
lines changed Original file line number Diff line number Diff line change 9
9
- " **"
10
10
11
11
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
34
12
35
13
test :
36
14
runs-on : ubuntu-latest
37
15
steps :
38
16
- name : Checkout
39
17
uses : actions/checkout@v4
18
+
40
19
- name : Setup node
41
20
uses : actions/setup-node@v4
42
21
with :
43
22
node-version : ' 20'
44
23
check-latest : true
24
+
45
25
- name : Setup pnpm
46
26
uses : pnpm/action-setup@v4
47
27
with :
48
28
version : latest
29
+
49
30
- name : Install dependencies
50
31
run : pnpm install
32
+
33
+ - name : Build packages
34
+ run : pnpm run build
35
+
51
36
- name : Install Firebase CLI
52
37
53
- - name : Start Firebase emulator and run tests
38
+
39
+ - name : Start Firebase emulator
54
40
run : |
55
41
firebase emulators:start --only auth --project demo-test &
56
42
sleep 15
59
45
echo "Waiting for emulator to start..."
60
46
sleep 2
61
47
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
You can’t perform that action at this time.
0 commit comments