From d58d0dc65ae0be7f0b909c08261b927e5d2e1b5c Mon Sep 17 00:00:00 2001 From: Lihini Senanayake Date: Fri, 26 Apr 2024 02:18:31 +0530 Subject: [PATCH] fix: debug github workflow cannot find package.json error --- .github/workflows/firebase-deploy.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/firebase-deploy.yml b/.github/workflows/firebase-deploy.yml index 4c048e8..0bc77a9 100644 --- a/.github/workflows/firebase-deploy.yml +++ b/.github/workflows/firebase-deploy.yml @@ -29,6 +29,10 @@ jobs: ref: main token: ${{ secrets.GITHUB_TOKEN }} path: ./.github/actions/actions-oidc-debugger + - name: Use Node.js + uses: actions/setup-node@v4 + with: + node-version: 20 - name: Debug OIDC Claims uses: ./.github/actions/actions-oidc-debugger with: @@ -42,13 +46,9 @@ jobs: project_id: ${{ env.FIREBASE_PROJECT }} workload_identity_provider: 'projects/970886652672/locations/global/workloadIdentityPools/dev-ci-pool/providers/my-repo-oidc' # service_account: 'my-service-account@my-project.iam.gserviceaccount.com' - - name: Use Node.js - uses: actions/setup-node@v2 - with: - node-version: '20' - name: Install dependencies. - working-directory: ./../ run: | + cd ../ ls -l npm ci - name: Deploy to firebase cloud functions.