Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: drop support prefixed env vars + default service account file #759

Merged
merged 1 commit into from
Dec 31, 2022

Conversation

prescottprue
Copy link
Owner

Description

  • Drops support for SERVICE_ACCOUNT environment variables auto-prefixed by CI environment (such as STAGE_SERVICE_ACCOUNT)
  • Drops support for loading default service account file at ./serviceAccount.json - GOOGLE_APPLICATION_CREDENTIALS env variable should be used instead. This removes all file system interaction directly within cypress-firebase

Screenshots (if appropriate)

@codecov
Copy link

codecov bot commented Dec 31, 2022

Codecov Report

Merging #759 (d33226c) into beta (a16b4e7) will decrease coverage by 0.06%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             beta     #759      +/-   ##
==========================================
- Coverage   87.34%   87.27%   -0.07%     
==========================================
  Files           7        6       -1     
  Lines         316      283      -33     
  Branches      112      102      -10     
==========================================
- Hits          276      247      -29     
  Misses         10       10              
+ Partials       30       26       -4     
Impacted Files Coverage Δ
src/firebase-utils.ts 84.76% <100.00%> (+2.58%) ⬆️

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

@prescottprue prescottprue merged commit 9e72614 into beta Dec 31, 2022
@prescottprue prescottprue deleted the drop-sa branch December 31, 2022 06:53
@github-actions
Copy link

🎉 This PR is included in version 3.0.0-beta.2 🎉

The release is available on:

Your semantic-release bot 📦🚀

prescottprue added a commit that referenced this pull request Dec 31, 2022
* feat: update node build version to 16 (#746)
* feat: remove all file system interaction directly in cypress-firebase
* chore: update badge in readme

BREAKING CHANGE: Drop support for Node versions below 16
Build for Node 16 (previously Node 12)
Drop support for environment variables auto-prefixed by CI env (such as `STAGE_SERVICE_ACCOUNT`) (#759)
Drop support for loading default service account file at ./serviceAccount.json - `GOOGLE_APPLICATION_CREDENTIALS` env variable should be used instead [as described in Firebase docs](https://firebase.google.com/docs/admin/setup#initialize-sdk)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant