File tree Expand file tree Collapse file tree 4 files changed +20
-4
lines changed
react-firebase/.github/workflows
react-firestore/.github/workflows Expand file tree Collapse file tree 4 files changed +20
-4
lines changed Original file line number Diff line number Diff line change @@ -99,11 +99,19 @@ jobs:
9999 FIREBASE_TOKEN : ${{ secrets.FIREBASE_TOKEN }}
100100 GITHUB_REF : ${{ github.ref }}
101101 GITHUB_HEAD_REF : ${{ github.head_ref }}
102- # Deploy to project associated with branch name alias in .firebaserc.
102+ # Deploy to project associated with branch name alias in .firebaserc with message set to commit's message .
103103 # Force flag is used to automatically delete any removed cloud functions
104104 run : |
105105 $(yarn bin)/firebase-ci deploy -s --force
106106
107+ # Archive debug logs if deploy fails
108+ - name : Archive Debug Logs
109+ if : ${{ failure() }}
110+ uses : actions/upload-artifact@v2
111+ with :
112+ name : debug-logs
113+ path : ./*.log
114+
107115 - name : Check if version has been updated
108116 if : github.ref == 'refs/heads/prod'
109117 id : check
Original file line number Diff line number Diff line change @@ -117,11 +117,19 @@ jobs:
117117 FIREBASE_TOKEN : ${{ secrets.FIREBASE_TOKEN }}
118118 GITHUB_REF : ${{ github.ref }}
119119 GITHUB_HEAD_REF : ${{ github.head_ref }}
120- # Deploy to project associated with branch name alias in .firebaserc.
120+ # Deploy to project associated with branch name alias in .firebaserc with message set to commit's message .
121121 # Force flag is used to automatically delete any removed cloud functions
122122 run : |
123123 $(yarn bin)/firebase-ci deploy -s --force
124124
125+ # Archive debug logs if deploy fails
126+ - name : Archive Debug Logs
127+ if : ${{ failure() }}
128+ uses : actions/upload-artifact@v2
129+ with :
130+ name : debug-logs
131+ path : ./*.log
132+
125133 - name : Check if version has been updated
126134 if : github.ref == 'refs/heads/prod'
127135 id : check
Original file line number Diff line number Diff line change @@ -128,7 +128,7 @@ jobs:
128128 uses : actions/upload-artifact@v2
129129 with :
130130 name : debug-logs
131- path : ' *.log'
131+ path : ./ *.log
132132
133133 - name : Check if version has been updated
134134 if : github.ref == 'refs/heads/prod'
Original file line number Diff line number Diff line change 5353 "nyc" : " ^15.1.0" ,<% } %>
5454 "rimraf" : " ^3.0.2" <% if(includeFunctionsTests && functionsTestTool === 'mocha') { %>,
5555 "sinon" : " ^9.2.4" <% } %><% if(typescriptCloudFunctions && includeFunctionsTests && functionsTestTool === 'jest') { %>,
56- "ts-jest" : " ^26.4.2a " <% } %><% if(typescriptCloudFunctions) { %>,
56+ "ts-jest" : " ^26.4.2 " <% } %><% if(typescriptCloudFunctions) { %>,
5757 "ts-node" : " ^9.1.1" ,
5858 "typescript" : " ^4.2.4" <% } %>
5959 }
You can’t perform that action at this time.
0 commit comments