From 0516c05673fecc8f7367b295378d06e3c95c4b56 Mon Sep 17 00:00:00 2001 From: Dylan Myers Date: Wed, 24 Jan 2024 01:22:28 +0000 Subject: [PATCH] use node 20 for building --- .github/workflows/firebase-hosting-merge.yml | 7 +++---- .nvmrc | 1 + 2 files changed, 4 insertions(+), 4 deletions(-) create mode 100644 .nvmrc diff --git a/.github/workflows/firebase-hosting-merge.yml b/.github/workflows/firebase-hosting-merge.yml index 80ddebd..525284c 100644 --- a/.github/workflows/firebase-hosting-merge.yml +++ b/.github/workflows/firebase-hosting-merge.yml @@ -14,11 +14,10 @@ jobs: - name: Check out code uses: actions/checkout@v3 - - name: Set Node.js 16.x - uses: actions/setup-node@v3 + - name: Set Node.js 20.x + uses: actions/setup-node@v4 with: - node-version: 16.x - cache: 'yarn' + node-version-file: '.nvmrc' - name: Create .env file uses: SpicyPizza/create-envfile@v1.3.1 diff --git a/.nvmrc b/.nvmrc new file mode 100644 index 0000000..9a2a0e2 --- /dev/null +++ b/.nvmrc @@ -0,0 +1 @@ +v20