From 6b3874ce8f868b0d5ed0363aaca672ea209ffab4 Mon Sep 17 00:00:00 2001 From: Melvin Teo <62491197+meleongg@users.noreply.github.com> Date: Wed, 13 Dec 2023 18:17:28 -0800 Subject: [PATCH] Specify firebase-tools version for ci cd --- .github/workflows/firebase-hosting-merge.yml | 3 ++- .github/workflows/firebase-hosting-pull-request.yml | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/firebase-hosting-merge.yml b/.github/workflows/firebase-hosting-merge.yml index 90ebfc2..77a4982 100644 --- a/.github/workflows/firebase-hosting-merge.yml +++ b/.github/workflows/firebase-hosting-merge.yml @@ -10,7 +10,7 @@ jobs: build_and_deploy: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - name: Use Node.js uses: actions/setup-node@v3 with: @@ -22,5 +22,6 @@ jobs: firebaseServiceAccount: '${{ secrets.FIREBASE_SERVICE_ACCOUNT_NWPLUS_UBC }}' channelId: live projectId: nwplus-ubc + firebaseToolsVersion: 12.9.1 env: FIREBASE_CLI_PREVIEWS: hostingchannels diff --git a/.github/workflows/firebase-hosting-pull-request.yml b/.github/workflows/firebase-hosting-pull-request.yml index bdf3d55..2cc5099 100644 --- a/.github/workflows/firebase-hosting-pull-request.yml +++ b/.github/workflows/firebase-hosting-pull-request.yml @@ -7,7 +7,7 @@ jobs: build_and_preview: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - name: Use Node.js uses: actions/setup-node@v3 with: @@ -18,5 +18,6 @@ jobs: repoToken: '${{ secrets.GITHUB_TOKEN }}' firebaseServiceAccount: '${{ secrets.FIREBASE_SERVICE_ACCOUNT_NWPLUS_UBC }}' projectId: nwplus-ubc + with: firebaseToolsVersion: 12.9.1 env: FIREBASE_CLI_PREVIEWS: hostingchannels