From 29df73085182d743ac6cb8b5bfecf2f9b8ce5a3b Mon Sep 17 00:00:00 2001 From: Matthew Foster Date: Sat, 2 Dec 2023 22:55:02 -0800 Subject: [PATCH] fix the correct workflow file this time --- .github/workflows/firebase-deploy.yaml | 4 ---- .github/workflows/firebase-hosting-pull-request.yml | 8 ++++++-- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/firebase-deploy.yaml b/.github/workflows/firebase-deploy.yaml index 7adf053c..081f3a41 100644 --- a/.github/workflows/firebase-deploy.yaml +++ b/.github/workflows/firebase-deploy.yaml @@ -15,13 +15,9 @@ jobs: - name: Checkout Repo uses: actions/checkout@master - name: Install Dependencies - env: - NODE_OPTIONS: --openssl-legacy-provider run: npm ci working-directory: firebase-functions - name: Install Dependencies - env: - NODE_OPTIONS: --openssl-legacy-provider run: npm ci working-directory: firebase-functions/functions - name: Deploy to Firebase diff --git a/.github/workflows/firebase-hosting-pull-request.yml b/.github/workflows/firebase-hosting-pull-request.yml index 8e877279..211e122b 100644 --- a/.github/workflows/firebase-hosting-pull-request.yml +++ b/.github/workflows/firebase-hosting-pull-request.yml @@ -8,8 +8,12 @@ jobs: if: '${{ github.event.pull_request.head.repo.full_name == github.repository }}' runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 - - run: npm ci && npm run build + - name: Checkout 🛎️ + uses: actions/checkout@v3 + - name: Install and Build 🔧 + env: + NODE_OPTIONS: --openssl-legacy-provider + run: npm ci && npm run build - uses: FirebaseExtended/action-hosting-deploy@v0 with: repoToken: '${{ secrets.GITHUB_TOKEN }}'