From 180a560e4a54f3d30ee7674cfbb43044965ca1b9 Mon Sep 17 00:00:00 2001 From: Christian Rackerseder Date: Sat, 22 Jun 2024 23:00:47 +0200 Subject: [PATCH 1/2] Remove Volta setting --- package.json | 3 --- 1 file changed, 3 deletions(-) diff --git a/package.json b/package.json index be351b12..50b9670d 100644 --- a/package.json +++ b/package.json @@ -9,9 +9,6 @@ "engines": { "node": "22.x" }, - "volta": { - "node": "22.3.0" - }, "scripts": {}, "dependencies": { "@astrojs/node": "8.3.1", From 439ae852ea9ae399b46c7821102149c2fe040bd5 Mon Sep 17 00:00:00 2001 From: Christian Rackerseder Date: Sat, 22 Jun 2024 23:00:55 +0200 Subject: [PATCH 2/2] Set Node.js version to v22.3.0 --- .github/actions/setup-nodejs/action.yml | 6 ++++-- .node-version | 1 + 2 files changed, 5 insertions(+), 2 deletions(-) create mode 100644 .node-version diff --git a/.github/actions/setup-nodejs/action.yml b/.github/actions/setup-nodejs/action.yml index c852db92..fd4a840c 100644 --- a/.github/actions/setup-nodejs/action.yml +++ b/.github/actions/setup-nodejs/action.yml @@ -5,8 +5,10 @@ description: 'Setup Node.js and makes a "npm install"' runs: using: "composite" steps: - - name: Download Node.js - uses: volta-cli/action@v4 + - name: Use Node.js 22.3.0 + uses: actions/setup-node@v4 + with: + node-version: "22.3.0" - name: Install dependencies run: npm clean-install shell: bash diff --git a/.node-version b/.node-version new file mode 100644 index 00000000..8326e27f --- /dev/null +++ b/.node-version @@ -0,0 +1 @@ +22.3.0