Compare commits

..

3 Commits

Author SHA1 Message Date
Zoltan Kochan
c147d3f3ca feat!: drop Node.js 24 support 2026-02-17 13:28:17 +01:00
Zoltan Kochan
9a52a9ef25 Merge remote-tracking branch 'origin/master' into update-node 2026-02-17 13:26:46 +01:00
Zoltan Kochan
aeb1c1fbbe feat!: drop Node.js 22 support 2026-02-17 13:24:55 +01:00
4 changed files with 5 additions and 34 deletions

View File

@@ -1,28 +0,0 @@
name: pr-check
on: [ pull_request ]
permissions:
contents: read
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.sha }}
cancel-in-progress: true
jobs:
check-dist:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1
- name: Setup pnpm
uses: pnpm/action-setup@fc06bc1257f339d1d5d8b3a19a8cae5388b55320 # v5.0.0
with:
run_install: true
version: 9
- name: Update dist/index.js
run: pnpm run build
- name: Check for uncommitted changes in dist
run: git diff --exit-code dist/index.js

8
dist/index.js vendored

File diff suppressed because one or more lines are too long

View File

@@ -44,7 +44,6 @@ export async function runSelfInstaller(inputs: Inputs): Promise<number> {
if (exitCode === 0) { if (exitCode === 0) {
const pnpmHome = path.join(dest, 'node_modules/.bin') const pnpmHome = path.join(dest, 'node_modules/.bin')
addPath(pnpmHome) addPath(pnpmHome)
addPath(path.join(pnpmHome, 'bin'))
exportVariable('PNPM_HOME', pnpmHome) exportVariable('PNPM_HOME', pnpmHome)
} }
return exitCode return exitCode

View File

@@ -6,5 +6,5 @@ export const getBinDest = (inputs: Inputs): string => path.join(inputs.dest, 'no
export const patchPnpmEnv = (inputs: Inputs): NodeJS.ProcessEnv => ({ export const patchPnpmEnv = (inputs: Inputs): NodeJS.ProcessEnv => ({
...process.env, ...process.env,
PATH: path.join(getBinDest(inputs), 'bin') + path.delimiter + getBinDest(inputs) + path.delimiter + process.env.PATH, PATH: getBinDest(inputs) + path.delimiter + process.env.PATH,
}) })