fix: relax toolchain pinning for release workflow
This commit is contained in:
@@ -22,9 +22,12 @@ jobs:
|
||||
- name: Setup Node.js
|
||||
uses: actions/setup-node@v4
|
||||
with:
|
||||
node-version: 22.19.0
|
||||
node-version: 22
|
||||
cache: pnpm
|
||||
|
||||
- name: Upgrade npm
|
||||
run: npm install -g npm@latest
|
||||
|
||||
- name: Install dependencies
|
||||
run: pnpm install --frozen-lockfile
|
||||
|
||||
|
||||
@@ -29,10 +29,19 @@ jobs:
|
||||
- name: Setup Node.js
|
||||
uses: actions/setup-node@v4
|
||||
with:
|
||||
node-version: 22.19.0
|
||||
node-version: 22
|
||||
cache: pnpm
|
||||
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
|
||||
run: pnpm install --frozen-lockfile
|
||||
|
||||
|
||||
+1
-1
@@ -1 +1 @@
|
||||
22.19.0
|
||||
22
|
||||
|
||||
+2
-2
@@ -6,8 +6,8 @@ Thanks for contributing to `@eko24ive/pi-ask`.
|
||||
|
||||
Requirements:
|
||||
|
||||
- Node.js `22.19.0`
|
||||
- pnpm `10.33.0`
|
||||
- Node.js `22+`
|
||||
- pnpm `10+`
|
||||
|
||||
Install dependencies:
|
||||
|
||||
|
||||
@@ -156,10 +156,10 @@ Behavior:
|
||||
|
||||
### Requirements
|
||||
|
||||
- Node.js `22.19.0`
|
||||
- pnpm `10.33.0`
|
||||
- Node.js `22+`
|
||||
- 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
|
||||
|
||||
|
||||
+3
-4
@@ -34,7 +34,7 @@
|
||||
"check": "ultracite check",
|
||||
"check:ci": "biome ci .",
|
||||
"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",
|
||||
"commitlint": "commitlint",
|
||||
"release": "semantic-release"
|
||||
@@ -103,10 +103,9 @@
|
||||
"ultracite": "7.6.0"
|
||||
},
|
||||
"engines": {
|
||||
"node": "22.19.x",
|
||||
"pnpm": "10.33.0"
|
||||
"node": ">=22",
|
||||
"pnpm": ">=10"
|
||||
},
|
||||
"packageManager": "pnpm@10.33.0",
|
||||
"config": {
|
||||
"commitizen": {
|
||||
"path": "./node_modules/cz-conventional-changelog"
|
||||
|
||||
Reference in New Issue
Block a user