File tree Expand file tree Collapse file tree 1 file changed +45
-0
lines changed Expand file tree Collapse file tree 1 file changed +45
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Release Extension
2+
3+ on :
4+ release :
5+ types : [published]
6+
7+ jobs :
8+ release :
9+ runs-on : ubuntu-latest
10+
11+ steps :
12+ - name : Checkout repository
13+ uses : actions/checkout@v3
14+
15+ - name : Set up Node.js
16+ uses : actions/setup-node@v3
17+ with :
18+ node-version : 22
19+
20+ - name : Install dependencies
21+ run : npm ci
22+ working-directory : functions
23+
24+ - name : Check formatting
25+ run : npm run format:check
26+ working-directory : functions
27+
28+ - name : Build functions
29+ run : npm run build
30+ working-directory : functions
31+
32+ - name : Run tests
33+ run : npx vitest run
34+ working-directory : functions
35+
36+ - name : Install Firebase CLI
37+ run : npm install -g firebase-tools
38+
39+ - name : Authenticate to Firebase
40+ run : firebase login:ci --token "${{ secrets.FIREBASE_TOKEN }}"
41+
42+ - name : Publish extension to Firebase Extensions Hub
43+ run : firebase ext:dev:publish firestore-web-scraper
44+ env :
45+ FIREBASE_TOKEN : ${{ secrets.FIREBASE_TOKEN }}
You can’t perform that action at this time.
0 commit comments