diff --git a/.github/workflows/documentation-deploy.yml b/.github/workflows/documentation-deploy.yml index 20710f9..3238a67 100644 --- a/.github/workflows/documentation-deploy.yml +++ b/.github/workflows/documentation-deploy.yml @@ -21,7 +21,7 @@ jobs: - name: Set up Node.js uses: actions/setup-node@v4 with: - node-version: 18 + node-version: 22 - name: Build run: | diff --git a/.github/workflows/manual-test-release.yml b/.github/workflows/manual-test-release.yml index 313087d..df07b84 100644 --- a/.github/workflows/manual-test-release.yml +++ b/.github/workflows/manual-test-release.yml @@ -17,7 +17,7 @@ jobs: - host: ubuntu-latest target: linux-x64 runs-on: ${{ matrix.settings.host }} - name: dev build - ${{ matrix.settings.target }} - node@18 + name: dev build - ${{ matrix.settings.target }} - node@22 steps: - uses: actions/checkout@v4 - name: Use Node.js diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 0b9bfd0..5415f9e 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -20,7 +20,7 @@ jobs: - host: ubuntu-latest target: linux-x64 runs-on: ${{ matrix.settings.host }} - name: dev build - ${{ matrix.settings.target }} - node@18 + name: dev build - ${{ matrix.settings.target }} - node@22 steps: - uses: actions/checkout@v4 - name: Use Node.js diff --git a/package.json b/package.json index 0c56879..0ab9fea 100644 --- a/package.json +++ b/package.json @@ -27,10 +27,10 @@ "format": "prettier --write src && eslint --fix src", "start": "node dist/index.cjs", "start:dev": "node build/index.js", - "pkg:linux": "pkg ./dist -t node18-linux-x64 -o bundle/dcli-linux -C GZip --public --public-packages tslib,thirty-two,node-hkdf-sync,vows --no-bytecode", - "pkg:macos": "pkg ./dist -t node18-macos-x64 -o bundle/dcli-macos -C GZip --public --public-packages tslib,thirty-two,node-hkdf-sync,vows --no-bytecode", - "pkg:macos-arm": "pkg ./dist -t node18-macos-arm64 -o bundle/dcli-macos-arm -C GZip --public --public-packages tslib,thirty-two,node-hkdf-sync,vows --no-bytecode --no-native-build", - "pkg:win": "pkg ./dist -t node18-win-x64 -o bundle/dcli-win.exe -C GZip --public --public-packages tslib,thirty-two,node-hkdf-sync,vows --no-bytecode", + "pkg:linux": "pkg ./dist -t node22-linux-x64 -o bundle/dcli-linux -C GZip --public --public-packages tslib,thirty-two,node-hkdf-sync,vows --no-bytecode", + "pkg:macos": "pkg ./dist -t node22-macos-x64 -o bundle/dcli-macos -C GZip --public --public-packages tslib,thirty-two,node-hkdf-sync,vows --no-bytecode", + "pkg:macos-arm": "pkg ./dist -t node22-macos-arm64 -o bundle/dcli-macos-arm -C GZip --public --public-packages tslib,thirty-two,node-hkdf-sync,vows --no-bytecode --no-native-build", + "pkg:win": "pkg ./dist -t node22-win-x64 -o bundle/dcli-win.exe -C GZip --public --public-packages tslib,thirty-two,node-hkdf-sync,vows --no-bytecode", "pkg": "yarn run build && yarn run pkg:linux && yarn run pkg:macos && yarn run pkg:win", "version:bump": "node --loader ts-node/esm ./src/bumpVersion.ts", "prepare": "husky",