Skip to content

Commit

Permalink
Merge pull request #2332 from myrotvorets/renovate/functions-firebase…
Browse files Browse the repository at this point in the history
…-admin-13.x

chore(deps): update dependency firebase-admin to v13
  • Loading branch information
myrotvorets-team authored Dec 20, 2024
2 parents b1f4724 + 3e5b8f2 commit c6f5ed8
Show file tree
Hide file tree
Showing 20 changed files with 459 additions and 381 deletions.
11 changes: 11 additions & 0 deletions .github/workflows/deploy-backend.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,12 @@ jobs:
run: npm rebuild && npm run prepare --if-present
working-directory: functions

- name: Set up .env
run: echo "${FUNCTIONS_ENV}" > .env
env:
FUNCTIONS_ENV: ${{ secrets.FUNCTIONS_ENV }}
working-directory: functions

- name: Start deployment
uses: chrnorm/deployment-action@55729fcebec3d284f60f5bcabbd8376437d696b1 # v2.0.7
id: deployment
Expand Down Expand Up @@ -70,3 +76,8 @@ jobs:
token: "${{ github.token }}"
state: "failure"
deployment-id: ${{ steps.deployment.outputs.deployment_id }}

- name: Kill .env
run: rm -f .env
working-directory: functions
if: always()
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ node_modules/

# dotenv environment variables file
.env
.env.*


.runtimeconfig.json
Expand Down
21 changes: 21 additions & 0 deletions firebase.json
Original file line number Diff line number Diff line change
Expand Up @@ -52,5 +52,26 @@
},
"database": {
"rules": "database.rules.json"
},
"emulators": {
"auth": {
"port": 9099
},
"functions": {
"port": 5001
},
"database": {
"port": 9000
},
"hosting": {
"port": 5000
},
"storage": {
"port": 9199
},
"ui": {
"enabled": true
},
"singleProjectMode": true
}
}
4 changes: 3 additions & 1 deletion functions/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,6 @@
# Typescript v1 declaration files
typings/

node_modules/
node_modules/

*.log
3 changes: 3 additions & 0 deletions functions/eslint.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -19,5 +19,8 @@ export default [
...globals.jest,
},
},
rules: {
'no-console': 'off',
},
},
];
Loading

0 comments on commit c6f5ed8

Please sign in to comment.