From 9001f02f4f707e10d5674b9292f29e07ef7c4981 Mon Sep 17 00:00:00 2001 From: Kevin Viglucci Date: Wed, 1 Jan 2025 22:12:00 -0600 Subject: [PATCH] chore(ci): GitHub actions use nvmrc file --- .github/workflows/build.yml | 8 ++++---- .github/workflows/release.yml | 6 +++--- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index a32f6b0..6f5c927 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -15,9 +15,9 @@ jobs: uses: actions/checkout@v2 - name: Install Node - uses: actions/setup-node@v2 + uses: actions/setup-node@v4 with: - node-version: 12 + node-version-file: .nvmrc - name: Install Yarn run: npm install -g yarn @@ -47,7 +47,7 @@ jobs: - name: Install Node uses: actions/setup-node@v2 with: - node-version: 12 + node-version-file: .nvmrc - name: Install Yarn run: npm install -g yarn @@ -77,7 +77,7 @@ jobs: - name: Install Node uses: actions/setup-node@v2 with: - node-version: 12 + node-version-file: .nvmrc - name: Install Yarn run: npm install -g yarn diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 4b47561..55c0195 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -20,7 +20,7 @@ jobs: - name: Install Node uses: actions/setup-node@v2 with: - node-version: 12 + node-version-file: .nvmrc - name: Install Yarn run: npm install -g yarn @@ -50,7 +50,7 @@ jobs: - name: Install Node uses: actions/setup-node@v2 with: - node-version: 12 + node-version-file: .nvmrc - name: Install Yarn run: npm install -g yarn @@ -84,7 +84,7 @@ jobs: - name: Install Node uses: actions/setup-node@v2 with: - node-version: 12 + node-version-file: .nvmrc - name: Install Yarn run: npm install -g yarn