From b72c3fe5203b19948205b21645e8acb48de7642f Mon Sep 17 00:00:00 2001 From: Josh de Leeuw Date: Tue, 12 Mar 2024 10:05:41 -0400 Subject: [PATCH 1/3] 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 From c8cfe73c8358a0cdfc081b4cb47215573ba58401 Mon Sep 17 00:00:00 2001 From: Josh de Leeuw Date: Tue, 12 Mar 2024 10:13:49 -0400 Subject: [PATCH 2/3] update test action --- .github/workflows/node.js.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/node.js.yml b/.github/workflows/node.js.yml index 65cd6b4..69643da 100644 --- a/.github/workflows/node.js.yml +++ b/.github/workflows/node.js.yml @@ -10,7 +10,7 @@ on: branches: ["test"] env: - FIREBASE_TOKEN: ${{ secrets.FIREBASE_TOKEN }} + #FIREBASE_TOKEN: ${{ secrets.FIREBASE_TOKEN }} NEXT_PUBLIC_FIREBASE_CONFIG: ${{ secrets.FIREBASE_TEST_CONFIG }} jobs: @@ -19,7 +19,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: @@ -29,6 +29,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 - name: Enable firebase webframeworks From ac3896a08882dd709d8bffdfefda8fcab7bafd16 Mon Sep 17 00:00:00 2001 From: Josh de Leeuw Date: Tue, 12 Mar 2024 10:36:09 -0400 Subject: [PATCH 3/3] fix credentials name --- .github/workflows/node.js.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/node.js.yml b/.github/workflows/node.js.yml index 69643da..596d060 100644 --- a/.github/workflows/node.js.yml +++ b/.github/workflows/node.js.yml @@ -31,7 +31,7 @@ jobs: cache: "npm" - uses: 'google-github-actions/auth@v2' with: - credentials_json: '${{ secrets.GOOGLE_CREDENTIALS }}' # Replace with the name of your GitHub Actions secret + credentials_json: '${{ secrets.GOOGLE_TEST_CREDENTIALS }}' # Replace with the name of your GitHub Actions secret - name: Install firebase tools run: npm install -g firebase-tools - name: Enable firebase webframeworks