chore: support yarn for historical reasons

This commit is contained in:
Nolan Lawson 2024-03-23 10:39:23 -07:00
parent c4c9bf2dc5
commit 065c9c52af
1 changed files with 3 additions and 2 deletions

View File

@ -38,8 +38,9 @@ for (const benchmark of benchmarks) {
repo: 'https://github.com/nolanlawson/emoji-picker-element.git',
ref: 'master',
setupCommands: [
'pnpm i --frozen-lockfile',
'PERF=1 pnpm build:rollup'
// we're comparing against historical branches, so support yarn as well as pnpm since we switched
'if [ -f yarn.lock ]; then yarn --frozen-lockfile; else pnpm i --frozen-lockfile; fi',
'PERF=1 npm run build:rollup'
]
}
}