Skip to content

Commit 38aa420

Browse files
authored
Add workflow to verify Firebase AI sample app build (#901)
1 parent 85a5d36 commit 38aa420

File tree

1 file changed

+35
-0
lines changed

1 file changed

+35
-0
lines changed
Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
name: Check Firebase AI Samples
2+
3+
permissions:
4+
contents: read
5+
6+
on:
7+
pull_request:
8+
branches:
9+
- main
10+
paths:
11+
- 'ai/ai-react-app/**'
12+
13+
jobs:
14+
build-react-app:
15+
name: Build React App
16+
runs-on: ubuntu-latest
17+
18+
steps:
19+
- name: Checkout repository
20+
uses: actions/checkout@v4
21+
22+
- name: Set up Node
23+
uses: actions/setup-node@v4
24+
with:
25+
node-version: '22'
26+
cache: 'yarn'
27+
cache-dependency-path: 'ai/ai-react-app/yarn.lock'
28+
29+
- name: Install dependencies
30+
run: yarn install --frozen-lockfile
31+
working-directory: ./ai/ai-react-app
32+
33+
- name: Build application
34+
run: yarn build
35+
working-directory: ./ai/ai-react-app

0 commit comments

Comments
 (0)