Skip to content

Commit

Permalink
Merge pull request #550 from nwplus/nwhacks2024-app-ui-changes
Browse files Browse the repository at this point in the history
Remove duplicate code for specifying firebase-tools version
  • Loading branch information
meleongg authored Dec 14, 2023
2 parents 847e9dd + d7405b5 commit e0e023f
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions .github/workflows/firebase-hosting-merge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,19 +19,15 @@ jobs:
node-version: '16.x'

- name: Set up firebase
run: sudo npm install -g firebase-tools --unsafe
run: sudo npm install -g firebase-tools@12.9.1 --unsafe

- name: Choose dev firebase project
if: ${{ env.IS_PRODUCTION == 'false' }}
run: |
npm install -g [email protected]
firebase use nwplus-ubc-dev --token ${{ secrets.FIREBASE_TOKEN }}
run: firebase use nwplus-ubc-dev --token ${{ secrets.FIREBASE_TOKEN }}

- name: Choose prod firebase project
if: ${{ env.IS_PRODUCTION == 'true' }}
run: |
npm install -g [email protected]
firebase use nwplus-ubc --token ${{ secrets.FIREBASE_TOKEN }}
run: firebase use nwplus-ubc --token ${{ secrets.FIREBASE_TOKEN }}

- name: Install dependencies
run: npm install --force
Expand Down

0 comments on commit e0e023f

Please sign in to comment.