File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -16,29 +16,22 @@ jobs:
1616 runs-on : ubuntu-latest
1717
1818 steps :
19- - uses : actions/checkout@v4
19+ - uses : actions/checkout@v5
2020
21- - name : Setup Node.js
22- uses : actions/setup-node@v4
23- with :
24- node-version : ' 20'
25- cache : ' npm'
21+ - name : Setup Bun
22+ uses : oven-sh/setup-bun@v2
2623
2724 - name : Install dependencies
28- run : npm ci
25+ run : bun install
2926
3027 - name : Install Playwright Browsers
31- run : npx playwright install --with-deps chromium
32-
33- # Done as part of npm run test:x
34- # - name: Build project
35- # run: npm run build
28+ run : bunx playwright install --with-deps chromium
3629
3730 - name : Run unit tests
38- run : npm run test:unit
31+ run : bun run test:unit
3932
4033 - name : Run E2E tests
41- run : xvfb-run npm run test:e2e
34+ run : xvfb-run bun run test:e2e
4235 env :
4336 CI : true
4437
Original file line number Diff line number Diff line change @@ -16,9 +16,9 @@ Activates directly on `activateDirectlyOn` array (in `src/directActivation.ts`).
1616# Development
1717
1818``` bash
19- npm install
20- npm run build
21- npm run watch
19+ bun install
20+ bun run build
21+ bun run watch
2222```
2323
2424Do need to click reload in ` chrome://extensions ` after each change to the code.
@@ -29,14 +29,14 @@ This can now be done with `Control + M`.
2929
3030``` bash
3131# Run tests against our custom made html files
32- npm run test:unit
32+ bun run test:unit
3333
3434# Run tests against live whitelisted websites
35- npm run test:e2e
35+ bun run test:e2e
3636
3737# Debug tests
38- npm run test:ui
39- npm run test:debug
38+ bun run test:ui
39+ bun run test:debug
4040```
4141
4242
@@ -48,7 +48,7 @@ Publishing to the [Chrome Web Store](https://chrome.google.com/webstore/detail/k
4848- ` gulp ` will create ` ./dist/github-stars.zip `
4949
5050``` bash
51- npm run build
51+ bun run build
5252```
5353
5454Upload it to [ the store] ( https://chromewebstore.google.com/ ) and pick 3 dots > "Developer Dashboard".
You can’t perform that action at this time.
0 commit comments