Skip to content

Commit b2949ee

Browse files
committed
Try to hack size limit action to use Bun, not npm.
1 parent 6332510 commit b2949ee

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.github/workflows/size.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,10 @@ jobs:
1414
run: bun install --frozen-lockfile
1515
- name: Prepare wouter-preact (copy source files)
1616
run: cd packages/wouter-preact && npm run prepublishOnly
17+
- name: Symlink npm to bun
18+
run: |
19+
sudo ln -sf $(which bun) /usr/local/bin/npm
20+
sudo ln -sf $(which bunx) /usr/local/bin/npx
1721
- uses: andresz1/size-limit-action@v1
1822
with:
1923
github_token: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)