From cfd4476598360fbb27969057c6cd59dd53ed1053 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B8rnar=20=C3=98sttveit?= Date: Mon, 18 Dec 2023 21:21:00 +0100 Subject: [PATCH] use node16 --- .github/workflows/firebase-hosting-merge.yml | 6 ++++++ .github/workflows/firebase-hosting-pull-request.yml | 3 +++ 2 files changed, 9 insertions(+) diff --git a/.github/workflows/firebase-hosting-merge.yml b/.github/workflows/firebase-hosting-merge.yml index 4249199..13efd82 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: 16 - run: cd functions && npm ci - name: Deploy functions uses: w9jds/firebase-action@master @@ -23,6 +26,9 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 + - uses: actions/setup-node@v3 + with: + node-version: 16 - run: cd web && npm ci && npm run build - name: Deploy hosting uses: FirebaseExtended/action-hosting-deploy@v0 diff --git a/.github/workflows/firebase-hosting-pull-request.yml b/.github/workflows/firebase-hosting-pull-request.yml index afd5d5b..f85c22e 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: 16 - run: cd web && npm ci && npm run build:staging - uses: FirebaseExtended/action-hosting-deploy@v0 with: