From 7417ceabd00363d94f20f83f86c80cd687efee97 Mon Sep 17 00:00:00 2001 From: Phillip Date: Thu, 4 May 2023 16:06:45 +0200 Subject: [PATCH] feat: read Node version from .nvmrc --- .github/workflows/gh-pages.yml | 2 +- .github/workflows/release.yml | 2 +- .github/workflows/test-e2e.yml | 2 +- .github/workflows/test.yml | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/gh-pages.yml b/.github/workflows/gh-pages.yml index c3a71a0a5..408731d08 100644 --- a/.github/workflows/gh-pages.yml +++ b/.github/workflows/gh-pages.yml @@ -18,7 +18,7 @@ jobs: - name: Setup Node uses: actions/setup-node@v3 with: - node-version: "16" + node-version-file: ".nvmrc" cache: "yarn" - run: yarn setup diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 027f3a3e4..d4829fdb3 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -40,7 +40,7 @@ jobs: - name: Setup Node uses: actions/setup-node@v3 with: - node-version: "16" + node-version-file: ".nvmrc" cache: "yarn" - run: yarn setup - run: yarn build diff --git a/.github/workflows/test-e2e.yml b/.github/workflows/test-e2e.yml index 3069dfa4f..029695b63 100644 --- a/.github/workflows/test-e2e.yml +++ b/.github/workflows/test-e2e.yml @@ -35,7 +35,7 @@ jobs: - uses: actions/setup-node@v3 with: - node-version: "16" + node-version-file: ".nvmrc" cache: "yarn" - name: Install dependencies diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 99c93de85..85c175c4d 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -43,7 +43,7 @@ jobs: - uses: actions/setup-node@v3 with: - node-version: "16" + node-version-file: ".nvmrc" cache: "yarn" - name: Install dependencies