fix: relax toolchain pinning for release workflow
This commit is contained in:
@@ -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
|
||||||
|
|
||||||
|
|||||||
@@ -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
@@ -1 +1 @@
|
|||||||
22.19.0
|
22
|
||||||
|
|||||||
+2
-2
@@ -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:
|
||||||
|
|
||||||
|
|||||||
@@ -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
@@ -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"
|
||||||
|
|||||||
Reference in New Issue
Block a user