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
1 change: 1 addition & 0 deletions .github/workflows/benchmark.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -151,6 +151,7 @@ jobs:
- name: Run Benchmarks variations
env:
CODEARTIFACT_AUTH_TOKEN: ${{ steps.aws.outputs.token }}
VLT_REGISTRY_URL: ${{ secrets.VLT_REGISTRY_URL }}
VLT_REGISTRY_AUTH_TOKEN: ${{ secrets.VLT_REGISTRY_AUTH_TOKEN }}
GH_REGISTRY: ${{ secrets.GH_REGISTRY }}
GH_AUTH_TOKEN: ${{ secrets.GH_AUTH_TOKEN }}
Expand Down
11 changes: 10 additions & 1 deletion scripts/variations/common.sh
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,16 @@ BENCH_INSTALL_BERRY="corepack yarn@latest install"
BENCH_INSTALL_ZPM="yarn install --silent"
BENCH_INSTALL_PNPM="corepack pnpm@latest install --ignore-scripts --silent"
BENCH_INSTALL_PACQUET="pacquet install"
BENCH_INSTALL_VLT="vlt install --view=silent"
# vlt uses its own config (not .npmrc). When vlt registry credentials are
# available, configure vlt to use the vlt registry via --registry flag and
# VLT_REGISTRY / VLT_TOKEN env vars.
if [ -n "${VLT_REGISTRY_URL:-}" ] && [ -n "${VLT_REGISTRY_AUTH_TOKEN:-}" ]; then
export VLT_REGISTRY="$VLT_REGISTRY_URL"
export VLT_TOKEN="$VLT_REGISTRY_AUTH_TOKEN"
BENCH_INSTALL_VLT="vlt install --registry=$VLT_REGISTRY_URL --view=silent"
else
BENCH_INSTALL_VLT="vlt install --view=silent"
fi
BENCH_INSTALL_BUN="bun install --ignore-scripts --silent"
BENCH_INSTALL_DENO="deno install --quiet"
BENCH_INSTALL_AUBE="aube install --silent"
Expand Down