diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 5d18ce0..2d63003 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -16,18 +16,13 @@ jobs: - name: Setup pnpm uses: pnpm/action-setup@v4 - with: - version: 10.33.0 - name: Setup Node.js uses: actions/setup-node@v4 with: - node-version: 22 + node-version: lts/* cache: pnpm - - name: Upgrade npm - run: npm install -g npm@latest - - name: Install dependencies run: pnpm install --frozen-lockfile diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 514810e..3af0e58 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -23,19 +23,14 @@ jobs: - name: Setup pnpm uses: pnpm/action-setup@v4 - with: - version: 10.33.0 - name: Setup Node.js uses: actions/setup-node@v4 with: - node-version: 22 + node-version: lts/* cache: pnpm registry-url: https://registry.npmjs.org - - name: Upgrade npm - run: npm install -g npm@latest - - name: Show tool versions run: | node -v diff --git a/.node-version b/.node-version deleted file mode 100644 index 2bd5a0a..0000000 --- a/.node-version +++ /dev/null @@ -1 +0,0 @@ -22 diff --git a/.nvmrc b/.nvmrc deleted file mode 100644 index 2bd5a0a..0000000 --- a/.nvmrc +++ /dev/null @@ -1 +0,0 @@ -22 diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index cb40200..19dcc24 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -4,11 +4,6 @@ Thanks for contributing to `@eko24ive/pi-ask`. ## Development setup -Requirements: - -- Node.js `22+` -- pnpm `10+` - Install dependencies: ```bash diff --git a/README.md b/README.md index 0df3799..39e4f36 100644 --- a/README.md +++ b/README.md @@ -154,13 +154,6 @@ Behavior: ## Local development -### Requirements - -- Node.js `22+` -- pnpm `10+` - -The repo includes `.nvmrc` and `.node-version` set to Node.js `22`. - ### Run locally in pi ```bash diff --git a/package.json b/package.json index bffa3ec..2ca03c9 100644 --- a/package.json +++ b/package.json @@ -102,10 +102,6 @@ "typescript": "6.0.2", "ultracite": "7.6.0" }, - "engines": { - "node": ">=22", - "pnpm": ">=10" - }, "config": { "commitizen": { "path": "./node_modules/cz-conventional-changelog"