From 9b6853971927fa4efbddda0985aa35b4420b905f Mon Sep 17 00:00:00 2001 From: Hugh Nimmo-Smith Date: Fri, 19 Jul 2024 09:07:01 +0100 Subject: [PATCH] Use Node 20 --- .github/workflows/element-call.yaml | 1 + .github/workflows/lint.yaml | 1 + .github/workflows/test.yaml | 1 + .github/workflows/translations-download.yaml | 1 + .nvmrc | 1 + 5 files changed, 5 insertions(+) create mode 100644 .nvmrc diff --git a/.github/workflows/element-call.yaml b/.github/workflows/element-call.yaml index ad44570f..5311abe4 100644 --- a/.github/workflows/element-call.yaml +++ b/.github/workflows/element-call.yaml @@ -26,6 +26,7 @@ jobs: uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4 with: cache: "yarn" + node-version-file: ".nvmrc" - name: Install dependencies run: "yarn install" - name: Build diff --git a/.github/workflows/lint.yaml b/.github/workflows/lint.yaml index fdd0857b..6ce6b00f 100644 --- a/.github/workflows/lint.yaml +++ b/.github/workflows/lint.yaml @@ -12,6 +12,7 @@ jobs: uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4 with: cache: "yarn" + node-version-file: ".nvmrc" - name: Install dependencies run: "yarn install" - name: Prettier diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index 78205066..0841ed5f 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -14,6 +14,7 @@ jobs: uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4 with: cache: "yarn" + node-version-file: ".nvmrc" - name: Install dependencies run: "yarn install" - name: Vitest diff --git a/.github/workflows/translations-download.yaml b/.github/workflows/translations-download.yaml index eb8839c9..9dd4e4ad 100644 --- a/.github/workflows/translations-download.yaml +++ b/.github/workflows/translations-download.yaml @@ -18,6 +18,7 @@ jobs: - uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4 with: cache: "yarn" + node-version-file: ".nvmrc" - name: Install Deps run: "yarn install --frozen-lockfile" diff --git a/.nvmrc b/.nvmrc new file mode 100644 index 00000000..209e3ef4 --- /dev/null +++ b/.nvmrc @@ -0,0 +1 @@ +20