From bd62682ca493d078b0d17676bd5fa1ede9535c5e Mon Sep 17 00:00:00 2001 From: Jonas Metzener Date: Wed, 23 Feb 2022 09:03:39 +0100 Subject: [PATCH] chore(ci): use the same node version for all workflows --- .github/workflows/deploy.yml | 5 +++++ .github/workflows/release.yml | 7 +++++++ 2 files changed, 12 insertions(+) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 465e0c378..1774eb299 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -7,6 +7,9 @@ on: tags: - v[0-9]+.[0-9]+.[0-9]+ +env: + NODE_VERSION: 14 + concurrency: group: deploy cancel-in-progress: true @@ -18,6 +21,8 @@ jobs: steps: - uses: actions/checkout@v2 - uses: actions/setup-node@v2 + with: + node-version: ${{ env.NODE_VERSION }} - uses: actions/cache@v2 with: diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 9cb20a12c..878c2fd10 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -2,6 +2,9 @@ name: Release on: workflow_dispatch +env: + NODE_VERSION: 14 + jobs: release: name: Release @@ -32,6 +35,8 @@ jobs: fetch-depth: 0 token: ${{ secrets.GH_TOKEN }} - uses: actions/setup-node@v2 + with: + node-version: ${{ env.NODE_VERSION }} - uses: actions/cache@v2 with: @@ -73,6 +78,8 @@ jobs: fetch-depth: 0 token: ${{ secrets.GH_TOKEN }} - uses: actions/setup-node@v2 + with: + node-version: ${{ env.NODE_VERSION }} - uses: actions/cache@v2 with: