Skip to content

Commit

Permalink
patch: replace deprecated pkg with yao-pkg and bump etcher-util node …
Browse files Browse the repository at this point in the history
…v to 20.10
  • Loading branch information
aethernet authored and dfunckt committed Apr 22, 2024
1 parent 96f00aa commit c696c38
Show file tree
Hide file tree
Showing 5 changed files with 575 additions and 488 deletions.
2 changes: 1 addition & 1 deletion .github/actions/publish/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ inputs:
# Beware that native modules will be built for this version,
# which might not be compatible with the one used by pkg (see forge.sidecar.ts)
# https://github.com/vercel/pkg-fetch/releases
default: "18.x"
default: "20.x"
VERBOSE:
type: string
default: "true"
Expand Down
4 changes: 2 additions & 2 deletions .github/actions/test/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ inputs:
# --- custom environment
NODE_VERSION:
type: string
default: "18.18"
default: "20.10"
VERBOSE:
type: string
default: "true"
Expand All @@ -32,7 +32,7 @@ runs:
if: runner.os == 'Linux'
shell: bash
run: |
sudo apt-get install -y --no-install-recommends xvfb libudev-dev
sudo apt-get update && sudo apt-get install -y --no-install-recommends xvfb libudev-dev
cat < package.json | jq -r '.hostDependencies[][]' - | \
xargs -L1 echo | sed 's/|//g' | xargs -L1 \
sudo apt-get --ignore-missing install || true
Expand Down
2 changes: 1 addition & 1 deletion forge.sidecar.ts
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ function build(
// always build for host platform and node version
// https://github.com/vercel/pkg-fetch/releases
'--target',
`node18-${arch}`,
`node20-${arch}`,
'--output',
binPath,
],
Expand Down
Loading

0 comments on commit c696c38

Please sign in to comment.