From 60d32023444d7c762bfb3c87a98f1c0a24b97497 Mon Sep 17 00:00:00 2001 From: "aayush@nexleaf.org" Date: Fri, 5 Jan 2024 13:54:34 -0800 Subject: [PATCH] update yml files --- .github/workflows/firebase-hosting-merge.yml | 3 +++ .github/workflows/firebase-hosting-pull-request.yml | 3 +++ 2 files changed, 6 insertions(+) diff --git a/.github/workflows/firebase-hosting-merge.yml b/.github/workflows/firebase-hosting-merge.yml index 1b9c086..1865a60 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@v3 + - uses: actions/setup-node@v3 + with: + node-version-file: '.nvmrc' - run: npm ci --legacy-peer-deps && npm run build with: node-version-file: '.nvmrc' diff --git a/.github/workflows/firebase-hosting-pull-request.yml b/.github/workflows/firebase-hosting-pull-request.yml index 39c8f35..b2323ff 100644 --- a/.github/workflows/firebase-hosting-pull-request.yml +++ b/.github/workflows/firebase-hosting-pull-request.yml @@ -9,6 +9,9 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 + - uses: actions/setup-node@v3 + with: + node-version-file: '.nvmrc' - run: npm ci --legacy-peer-deps && npm run build - uses: FirebaseExtended/action-hosting-deploy@v0 with: