From 9bab08857f5ba7dbaaea62cc54dea80601306956 Mon Sep 17 00:00:00 2001 From: k2maan Date: Wed, 1 Mar 2023 12:45:17 +0530 Subject: [PATCH] Fixed: build failure due to node version 18 on github (#85zrmkx7q) --- .github/workflows/firebase-hosting-merge.yml | 3 +++ .github/workflows/firebase-hosting-release.yml | 3 +++ 2 files changed, 6 insertions(+) diff --git a/.github/workflows/firebase-hosting-merge.yml b/.github/workflows/firebase-hosting-merge.yml index 8d02effa9..cce48a584 100644 --- a/.github/workflows/firebase-hosting-merge.yml +++ b/.github/workflows/firebase-hosting-merge.yml @@ -11,6 +11,9 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 + - uses: actions/setup-node@v3 + with: + node-version: 16 - name: Install Dependencies run: npm install - name: Generate .env file diff --git a/.github/workflows/firebase-hosting-release.yml b/.github/workflows/firebase-hosting-release.yml index a1a8baaad..b0fd62669 100644 --- a/.github/workflows/firebase-hosting-release.yml +++ b/.github/workflows/firebase-hosting-release.yml @@ -11,6 +11,9 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 + - uses: actions/setup-node@v3 + with: + node-version: 16 - name: Checkout to latest release tag run: | git checkout $(git describe --tags `git rev-list --tags --max-count=1`)