Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions .github/workflows/staging-distribute.yml
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,15 @@ jobs:
channel: ${{ env.FLUTTER_CHANNEL }}
cache: true

- name: Install Firebase CLI
run: npm install -g firebase-tools

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It is a best practice to pin the version of CLI tools in CI/CD pipelines to ensure reproducibility and prevent unexpected breakages when new major versions are released.

Suggested change
run: npm install -g firebase-tools
+ run: npm install -g firebase-tools@latest


- name: Install FlutterFire CLI
run: dart pub global activate flutterfire_cli

- name: Add pub cache to PATH
run: echo "$HOME/.pub-cache/bin" >> $GITHUB_PATH

- name: Setup Ruby
uses: ruby/setup-ruby@v1
with:
Expand Down
Loading