Skip to content

Commit

Permalink
test(node): stop testing lts/hydrogen
Browse files Browse the repository at this point in the history
  • Loading branch information
panva committed Feb 19, 2025
1 parent a8e0203 commit d595b79
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 9 deletions.
4 changes: 0 additions & 4 deletions .electron_flags.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,3 @@ echo $(electron -i <<< 'process.exit(0)' 2> /dev/null | grep "Using" | awk '{$1=
electron -i <<< 'process.exit(parseInt(process.versions.node, 10))' &> /dev/null
NODE_VERSION=$?
export NODE_OPTIONS='--import=tsx/esm --conditions=browser --no-warnings --tls-cipher-list="ECDHE-RSA-AES128-GCM-SHA256 ECDHE-RSA-AES256-GCM-SHA384 ECDHE-ECDSA-AES128-GCM-SHA256 ECDHE-ECDSA-AES256-GCM-SHA384"'

if [[ $NODE_VERSION -eq 18 ]]; then
export NODE_OPTIONS+=' --experimental-global-webcrypto'
fi
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ jobs:
node-versions:
uses: panva/.github/.github/workflows/node-versions.yml@main
with:
min: 18
min: 20

node:
needs:
Expand Down
4 changes: 0 additions & 4 deletions .node_flags.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,3 @@ echo "Using Node.js $(node --version)"
node -e 'process.exit(parseInt(process.versions.node, 10))' &> /dev/null
NODE_VERSION=$?
export NODE_OPTIONS='--import=tsx/esm --conditions=browser --no-warnings --tls-cipher-list="ECDHE-RSA-AES128-GCM-SHA256 ECDHE-RSA-AES256-GCM-SHA384 ECDHE-ECDSA-AES128-GCM-SHA256 ECDHE-ECDSA-AES256-GCM-SHA384"'

if [[ $NODE_VERSION -eq 18 ]]; then
export NODE_OPTIONS+=' --experimental-global-webcrypto'
fi

0 comments on commit d595b79

Please sign in to comment.