From 06872ae850218853021a3da6941efa17a75ab47a Mon Sep 17 00:00:00 2001 From: Elliot Date: Sat, 13 Jan 2024 22:27:07 +1000 Subject: [PATCH] build: add nvmrc --- .github/workflows/cd.yaml | 2 +- .github/workflows/ci.yaml | 6 +++--- .nvmrc | 1 + 3 files changed, 5 insertions(+), 4 deletions(-) create mode 100644 .nvmrc diff --git a/.github/workflows/cd.yaml b/.github/workflows/cd.yaml index fb08531..2046b5b 100644 --- a/.github/workflows/cd.yaml +++ b/.github/workflows/cd.yaml @@ -18,7 +18,7 @@ jobs: - name: Install Node.js uses: actions/setup-node@v4 with: - node-version-file: '.node-version' + node-version-file: '.nvmrc' cache: 'pnpm' - name: Install Dependencies diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 78a6ff9..9fa7152 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -17,7 +17,7 @@ jobs: - name: Install Node.js uses: actions/setup-node@v4 with: - node-version-file: '.node-version' + node-version-file: '.nvmrc' cache: 'pnpm' - name: Run sherif @@ -36,7 +36,7 @@ jobs: - name: Install Node.js uses: actions/setup-node@v4 with: - node-version-file: '.node-version' + node-version-file: '.nvmrc' cache: 'pnpm' - name: Install dependencies @@ -60,7 +60,7 @@ jobs: - name: Install Node.js uses: actions/setup-node@v4 with: - node-version-file: '.node-version' + node-version-file: '.nvmrc' cache: 'pnpm' - name: Install dependencies diff --git a/.nvmrc b/.nvmrc new file mode 100644 index 0000000..2edeafb --- /dev/null +++ b/.nvmrc @@ -0,0 +1 @@ +20 \ No newline at end of file