Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 12 additions & 12 deletions .github/workflows/pr-deploy-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
- x64
- arm64
node-version:
- '16'
- '20'
os:
- linux
- macos
Expand All @@ -25,7 +25,7 @@ jobs:
with:
fetch-depth: 0
- name: Install node ${{ matrix.node-version }}
uses: actions/setup-node@v3
uses: actions/setup-node@v6
with:
node-version: ${{ matrix.node-version }}
cache: yarn
Expand All @@ -36,11 +36,11 @@ jobs:
git describe --tags --abbrev=1 && yarn bump "$(git describe --tags --abbrev=1 | cut -c2-)" package.json || echo "No tags yet. Skipping..."
node ./bin/hyperdrive
- name: Package into node binary
uses: lando/pkg-action@v2
uses: lando/pkg-action@v6
with:
entrypoint: bin/hyperdrive
arch: ${{ matrix.arch }}
node-version: node${{ matrix.node-version }}
node-version: ${{ matrix.node-version }}
os: ${{ matrix.os }}

sign-n-deploy:
Expand All @@ -53,19 +53,19 @@ jobs:
matrix:
include:
- os: windows-2022
key: hyperdrive-node16-win-x64-${{ github.sha }}
key: hyperdrive-node20-win-x64-${{ github.sha }}
file: hyperdrive/hyperdrive.exe
certificate-data: WINDOZE_CERT_DATA
certificate-password: WINDOZE_CERT_PASSWORD
result: hyperdrive-win-x64-snapshot-${{ github.sha }}.exe
- os: windows-2022
key: hyperdrive-node16-win-arm64-${{ github.sha }}
key: hyperdrive-node20-win-arm64-${{ github.sha }}
file: hyperdrive/hyperdrive.exe
certificate-data: WINDOZE_CERT_DATA
certificate-password: WINDOZE_CERT_PASSWORD
result: hyperdrive-win-arm64-snapshot-${{ github.sha }}.exe
- os: macos-12
key: hyperdrive-node16-macos-x64-${{ github.sha }}
key: hyperdrive-node20-macos-x64-${{ github.sha }}
file: hyperdrive/hyperdrive
certificate-data: APPLE_CERT_DATA
certificate-password: APPLE_CERT_PASSWORD
Expand All @@ -76,7 +76,7 @@ jobs:
options: --options runtime --entitlements entitlements.xml
result: hyperdrive-macos-x64-snapshot-${{ github.sha }}
- os: macos-12
key: hyperdrive-node16-macos-arm64-${{ github.sha }}
key: hyperdrive-node20-macos-arm64-${{ github.sha }}
file: hyperdrive/hyperdrive
certificate-data: APPLE_CERT_DATA
certificate-password: APPLE_CERT_PASSWORD
Expand All @@ -87,19 +87,19 @@ jobs:
options: --options runtime --entitlements entitlements.xml
result: hyperdrive-macos-arm64-snapshot-${{ github.sha }}
- os: ubuntu-22.04
key: hyperdrive-node16-linux-x64-${{ github.sha }}
key: hyperdrive-node20-linux-x64-${{ github.sha }}
file: hyperdrive/hyperdrive
result: hyperdrive-linux-x64-snapshot-${{ github.sha }}
- os: ubuntu-22.04
key: hyperdrive-node16-linux-arm64-${{ github.sha }}
key: hyperdrive-node20-linux-arm64-${{ github.sha }}
file: hyperdrive/hyperdrive
result: hyperdrive-linux-arm64-snapshot-${{ github.sha }}

steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Download ${{ matrix.key }}
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: ${{ matrix.key }}
path: hyperdrive
Expand All @@ -121,7 +121,7 @@ jobs:
chmod +x ${{ steps.code-sign-action.outputs.file }}
mv ${{ steps.code-sign-action.outputs.file }} ${{ matrix.result }}
- name: Upload snapshot release ${{ matrix.result }}
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: ${{ matrix.result }}
path: ${{ matrix.result }}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/pr-leia-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,12 @@ jobs:
- ubuntu-22.04
- macos-12
node-version:
- '16'
- '20'
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Install node ${{ matrix.node-version }}
uses: actions/setup-node@v3
uses: actions/setup-node@v6
with:
node-version: ${{ matrix.node-version }}
cache: yarn
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/pr-linter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,13 @@ jobs:
os:
- ubuntu-22.04
node-version:
- '16'
- '20'
steps:
# Install deps and cache
- name: Checkout code
uses: actions/checkout@v3
- name: Install node ${{ matrix.node-version }}
uses: actions/setup-node@v3
uses: actions/setup-node@v6
with:
node-version: ${{ matrix.node-version }}
cache: yarn
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/pr-unit-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,13 @@ jobs:
- ubuntu-22.04
- macos-12
node-version:
- '16'
- '20'
steps:
# Install deps and cache
- name: Checkout code
uses: actions/checkout@v3
- name: Install node ${{ matrix.node-version }}
uses: actions/setup-node@v3
uses: actions/setup-node@v6
with:
node-version: ${{ matrix.node-version }}
cache: yarn
Expand Down
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"oclif"
],
"engines": {
"node": ">=16.15.0"
"node": ">=20.0.0"
},
"main": "lib/hyperdrive.js",
"bin": {
Expand All @@ -31,7 +31,7 @@
"/utils"
],
"dependencies": {
"@lando/argv": "^1.1.0",
"@lando/argv": "^1.2.0",
"@oclif/core": "^1.16.1",
"ansi-colors": "^4.1.3",
"camelcase-keys": "^7",
Expand Down Expand Up @@ -64,19 +64,19 @@
"@babel/eslint-parser": "^7.15.7",
"@lando/leia": "^0.6.4",
"@oclif/test": "^2",
"@yao-pkg/pkg": "5.16.1",
"chai": "^4",
"eslint": "^7.32.0",
"eslint-config-oclif": "^4",
"globby": "^11",
"mocha": "^9",
"oclif": "^2",
"pkg": "^5.6.0",
"shx": "^0.3.3",
"version-bump-prompt": "^6.1.0"
},
"babel": {},
"scripts": {
"build": "shx rm -rf dist && pkg -c package.json -t node16 bin/hyperdrive",
"build": "shx rm -rf dist && pkg -c package.json -t node20 bin/hyperdrive",
"lint": "eslint bin/hyperdrive . --ext .js --config .eslintrc",
"test": "mocha --forbid-only \"test/**/*.test.js\"",
"release": "bump --tag --all --push"
Expand Down
Loading
Loading