From 686d3444db790a0aa1704475634ac4bca619834d Mon Sep 17 00:00:00 2001 From: Zadkiel AHARONIAN Date: Tue, 9 Jul 2024 18:05:18 +0200 Subject: [PATCH] ci: use node 20 (#290) --- .github/workflows/release.yml | 12 ++++++++++++ package.json | 3 +++ 2 files changed, 15 insertions(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 2127033c..5f63d837 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -13,6 +13,10 @@ jobs: steps: - uses: actions/checkout@v4 + - uses: actions/setup-node@v4 + with: + node-version-file: 'package.json' + - run: npm ci - run: npm run lint @@ -30,6 +34,10 @@ jobs: steps: - uses: actions/checkout@v4 + - uses: actions/setup-node@v4 + with: + node-version-file: 'package.json' + - uses: azure/setup-helm@v3.5 with: version: ${{ matrix.helm }} @@ -65,6 +73,10 @@ jobs: with: token: ${{ github.token }} + - uses: actions/setup-node@v4 + with: + node-version-file: 'package.json' + - run: git fetch --unshallow --tags - run: npm ci diff --git a/package.json b/package.json index 7665f4df..c790c42d 100644 --- a/package.json +++ b/package.json @@ -35,6 +35,9 @@ "semantic-release": "24.0.0", "shellcheck": "3.0.0" }, + "engines": { + "node": ">=20.8.1" + }, "lint-staged": { "**/*": [ "editorconfig-checker"