Skip to content

Commit

Permalink
Workflow fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewiggins committed Mar 8, 2024
1 parent 1abb69a commit 046cba0
Showing 1 changed file with 19 additions and 9 deletions.
28 changes: 19 additions & 9 deletions .github/workflows/run-bench.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,26 +63,36 @@ jobs:
with:
name: bench-environment
- name: Move tarballs from env to correct location
working-directory: benchmarks
run: |
ls -al
mv preact-local.tgz dependencies/preact/local-pinned/preact-local-pinned.tgz
ls -al dependencies/preact/local-pinned
mv preact-main.tgz dependencies/preact/main/preact-main.tgz
ls -al dependencies/preact/main
mv preact-local.tgz benchmarks/dependencies/preact/local-pinned/preact-local-pinned.tgz
ls -al benchmarks/dependencies/preact/local-pinned
mv preact-main.tgz benchmarks/dependencies/preact/main/preact-main.tgz
ls -al benchmarks/dependencies/preact/main
- name: Install deps
working-directory: benchmarks
run: pnpm install
# Set the CHROMEDRIVER_FILEPATH so the chromedriver npm package uses the
# correct binary when its installed
run: |
export CHROMEDRIVER_FILEPATH=$(which chromedriver)
pnpm install
- name: List dependency directories
working-directory: benchmarks
run: |
echo "$ ls -al dependencies/preact/local-pinned"
echo "\n$ ls -al dependencies/preact/local-pinned"
ls -al dependencies/preact/local-pinned
echo "$ ls -al dependencies/preact/local-pinned/node_modules"
echo "\n$ ls -al dependencies/preact/local-pinned/node_modules"
ls -al dependencies/preact/local-pinned/node_modules
echo "$ ls -al node_modules/.pnpm/tachometer@*/node_modules/tachometer/node_modules"
echo "\n$ ls -al node_modules/.pnpm/tachometer@*/node_modules/tachometer/node_modules"
ls -al node_modules/.pnpm/tachometer@*/node_modules/tachometer/node_modules
# DEBUGGING
- name: DEBUG
working-directory: benchmarks
run: |
cd dependencies/preact/local-pinned
node -e "console.log(require.resolve('preact'))"
# Run benchmark
- name: Run benchmark
working-directory: benchmarks
Expand Down

0 comments on commit 046cba0

Please sign in to comment.