From b72c3fe5203b19948205b21645e8acb48de7642f Mon Sep 17 00:00:00 2001 From: Josh de Leeuw Date: Tue, 12 Mar 2024 10:05:41 -0400 Subject: [PATCH] update test deploy action --- .github/workflows/firebase-deploy-test.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/firebase-deploy-test.yml b/.github/workflows/firebase-deploy-test.yml index c35da6d..3f3a40f 100644 --- a/.github/workflows/firebase-deploy-test.yml +++ b/.github/workflows/firebase-deploy-test.yml @@ -8,7 +8,7 @@ on: branches: ["test"] env: - FIREBASE_TOKEN: ${{ secrets.FIREBASE_TOKEN }} + #FIREBASE_TOKEN: ${{ secrets.FIREBASE_TOKEN }} NEXT_PUBLIC_FIREBASE_CONFIG: ${{ secrets.FIREBASE_TEST_CONFIG }} jobs: @@ -17,7 +17,7 @@ jobs: strategy: matrix: - node-version: [16.x] + node-version: [20.x] # See supported Node.js release schedule at https://nodejs.org/en/about/releases/ steps: @@ -27,6 +27,9 @@ jobs: with: node-version: ${{ matrix.node-version }} cache: "npm" + - uses: 'google-github-actions/auth@v2' + with: + credentials_json: '${{ secrets.GOOGLE_CREDENTIALS }}' # Replace with the name of your GitHub Actions secret - name: Install firebase tools run: npm install -g firebase-tools@12.1.0 - name: Enable firebase webframeworks