From f4879e4f3c9b0537462fee2eadbc0d7b4cd31bf5 Mon Sep 17 00:00:00 2001 From: "aayush@nexleaf.org" Date: Fri, 5 Jan 2024 14:00:33 -0800 Subject: [PATCH] works with v2 yml files --- .github/workflows/firebase-hosting-merge.yml | 4 ++-- .github/workflows/firebase-hosting-pull-request.yml | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/firebase-hosting-merge.yml b/.github/workflows/firebase-hosting-merge.yml index 6ff8548..8ab7b99 100644 --- a/.github/workflows/firebase-hosting-merge.yml +++ b/.github/workflows/firebase-hosting-merge.yml @@ -10,8 +10,8 @@ jobs: build_and_deploy: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 - - uses: actions/setup-node@v3 + - uses: actions/checkout@v2 + - uses: actions/setup-node@v2 with: node-version-file: '.nvmrc' - run: npm ci --legacy-peer-deps && npm run build diff --git a/.github/workflows/firebase-hosting-pull-request.yml b/.github/workflows/firebase-hosting-pull-request.yml index b2323ff..7e0ceff 100644 --- a/.github/workflows/firebase-hosting-pull-request.yml +++ b/.github/workflows/firebase-hosting-pull-request.yml @@ -8,8 +8,8 @@ jobs: if: '${{ github.event.pull_request.head.repo.full_name == github.repository }}' runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 - - uses: actions/setup-node@v3 + - uses: actions/checkout@v2 + - uses: actions/setup-node@v2 with: node-version-file: '.nvmrc' - run: npm ci --legacy-peer-deps && npm run build