fix: relax toolchain pinning for release workflow

This commit is contained in:
Erik Kotsiuba
2026-04-19 13:50:53 +02:00
parent c9877da59f
commit 549c2c26f0
7 changed files with 24 additions and 13 deletions
+4 -1
View File
@@ -22,9 +22,12 @@ jobs:
- name: Setup Node.js - name: Setup Node.js
uses: actions/setup-node@v4 uses: actions/setup-node@v4
with: with:
node-version: 22.19.0 node-version: 22
cache: pnpm cache: pnpm
- name: Upgrade npm
run: npm install -g npm@latest
- name: Install dependencies - name: Install dependencies
run: pnpm install --frozen-lockfile run: pnpm install --frozen-lockfile
+10 -1
View File
@@ -29,10 +29,19 @@ jobs:
- name: Setup Node.js - name: Setup Node.js
uses: actions/setup-node@v4 uses: actions/setup-node@v4
with: with:
node-version: 22.19.0 node-version: 22
cache: pnpm cache: pnpm
registry-url: https://registry.npmjs.org registry-url: https://registry.npmjs.org
- name: Upgrade npm
run: npm install -g npm@latest
- name: Show tool versions
run: |
node -v
npm -v
pnpm -v
- name: Install dependencies - name: Install dependencies
run: pnpm install --frozen-lockfile run: pnpm install --frozen-lockfile
+1 -1
View File
@@ -1 +1 @@
22.19.0 22
+1 -1
View File
@@ -1 +1 @@
22.19.0 22
+2 -2
View File
@@ -6,8 +6,8 @@ Thanks for contributing to `@eko24ive/pi-ask`.
Requirements: Requirements:
- Node.js `22.19.0` - Node.js `22+`
- pnpm `10.33.0` - pnpm `10+`
Install dependencies: Install dependencies:
+3 -3
View File
@@ -156,10 +156,10 @@ Behavior:
### Requirements ### Requirements
- Node.js `22.19.0` - Node.js `22+`
- pnpm `10.33.0` - pnpm `10+`
The repo also includes `.nvmrc` and `.node-version` pinned to the same Node.js version. The repo includes `.nvmrc` and `.node-version` set to Node.js `22`.
### Run locally in pi ### Run locally in pi
+3 -4
View File
@@ -34,7 +34,7 @@
"check": "ultracite check", "check": "ultracite check",
"check:ci": "biome ci .", "check:ci": "biome ci .",
"fix": "ultracite fix", "fix": "ultracite fix",
"prepare": "lefthook install", "prepare": "node -e \"if (!process.env.CI) { require('node:child_process').execSync('lefthook install', { stdio: 'inherit' }); } else { console.log('Skipping lefthook install in CI'); }\"",
"commit": "cz", "commit": "cz",
"commitlint": "commitlint", "commitlint": "commitlint",
"release": "semantic-release" "release": "semantic-release"
@@ -103,10 +103,9 @@
"ultracite": "7.6.0" "ultracite": "7.6.0"
}, },
"engines": { "engines": {
"node": "22.19.x", "node": ">=22",
"pnpm": "10.33.0" "pnpm": ">=10"
}, },
"packageManager": "pnpm@10.33.0",
"config": { "config": {
"commitizen": { "commitizen": {
"path": "./node_modules/cz-conventional-changelog" "path": "./node_modules/cz-conventional-changelog"