File tree Expand file tree Collapse file tree 4 files changed +17
-18
lines changed
Expand file tree Collapse file tree 4 files changed +17
-18
lines changed Original file line number Diff line number Diff line change 1+ 1.3.1
Original file line number Diff line number Diff line change @@ -19,15 +19,14 @@ jobs:
1919 uses : actions/checkout@v5
2020 with :
2121 fetch-depth : 0
22- - name : Setup Node.js
23- uses : actions/setup-node@v4
24- with :
25- node-version : ' 22.x'
26- cache : ' yarn'
22+ - name : Setup Bun package manager
23+ uses : oven-sh/setup-bun@v2
24+ with :
25+ bun-version-file : " .bun-version"
2726 - name : Install dependencies
28- run : yarn install --frozen-lockfile
27+ run : bun install --frozen-lockfile
2928 - name : Run tests with coverage
30- run : yarn test:coverage
29+ run : bun test:coverage
3130 - name : Upload coverage to Codecov
3231 uses : codecov/codecov-action@v5
3332 with :
Original file line number Diff line number Diff line change @@ -17,15 +17,14 @@ jobs:
1717 uses : actions/checkout@v5
1818 with :
1919 fetch-depth : 0
20- - name : Setup Node.js
21- uses : actions/setup-node@v4
22- with :
23- node-version : ' 22.x'
24- cache : ' yarn'
25- - name : Install dependencies
26- run : yarn install --frozen-lockfile
20+ - name : Setup Bun package manager
21+ uses : oven-sh/setup-bun@v2
22+ with :
23+ bun-version-file : " .bun-version"
24+ - name : Install production dependencies
25+ run : bun install --production --frozen-lockfile
2726 - name : Run tests with coverage
28- run : yarn test:coverage
27+ run : bun test:coverage
2928 - name : Upload coverage to Codecov
3029 uses : codecov/codecov-action@v5
3130 with :
Original file line number Diff line number Diff line change 1414 },
1515 "homepage" : " https://binger.uk" ,
1616 "scripts" : {
17+ "deploy" : " bun db:migrate && bun start" ,
1718 "start" : " npx tsx api/index.ts" ,
1819 "start:dev" : " npx tsx api/index.ts --enable-source-maps --watch" ,
1920 "lint" : " bun lint:ts && bun lint:ejs" ,
2627 "publish:patch" : " npx grunt" ,
2728 "publish:minor" : " npx grunt minor" ,
2829 "publish:major" : " npx grunt major" ,
29- "deploy" : " bun db:migrate && bun start" ,
30- "test" : " jest" ,
31- "test:coverage" : " jest --coverage --reporters=jest-junit"
30+ "test" : " npx jest" ,
31+ "test:coverage" : " npx jest --coverage --reporters=jest-junit"
3232 },
3333 "dependencies" : {
3434 "@vercel/analytics" : " ^1.5.0" ,
You can’t perform that action at this time.
0 commit comments