From 2a825dffeb625fb9265d3fdf59880190bb1b0b15 Mon Sep 17 00:00:00 2001 From: Nafis Zaman Date: Thu, 15 Aug 2024 23:35:11 -0700 Subject: [PATCH] Enable more cd steps with new working dir --- .github/workflows/cd.yml | 18 ++++++++---------- 1 file changed, 8 insertions(+), 10 deletions(-) diff --git a/.github/workflows/cd.yml b/.github/workflows/cd.yml index 01f5d36..e7c260e 100644 --- a/.github/workflows/cd.yml +++ b/.github/workflows/cd.yml @@ -29,8 +29,8 @@ jobs: uses: actions/checkout@v4 with: path: checkout-prefix - # - name: Install firebase-tools - # run: npm install -g firebase-tools + - name: Install firebase-tools + run: npm install -g firebase-tools # - name: Authenticate to Google # uses: 'google-github-actions/auth@v2' # with: @@ -45,14 +45,12 @@ jobs: create_credentials_file: true export_environment_variables: true cleanup_credentials: true - - name: Output directory contents - run: ls - - name: Output cred env var - run: echo $GOOGLE_APPLICATION_CREDENTIALS - # - name: Install dependencies - # run: npm install - # - name: Build - # run: npm run build + - name: Install dependencies + run: npm install + working-directory: checkout-prefix + - name: Build + run: npm run build + working-directory: checkout-prefix # - name: Deploy functions # run: npm run deploy # - name: Output firebase debug log