Skip to content

Commit 841d05a

Browse files
committed
use safe installation from lockfile
1 parent 97459ea commit 841d05a

File tree

5 files changed

+5
-11
lines changed

5 files changed

+5
-11
lines changed

.github/workflows/publish.yml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,11 +23,8 @@ jobs:
2323
check-latest: true
2424
registry-url: "https://registry.npmjs.org"
2525

26-
- name: Update NPM
27-
run: npm install -g npm@latest
28-
2926
- name: Install dependencies
30-
run: npm install
27+
run: bun install --frozen-lockfile
3128

3229
- name: Build
3330
run: bun run build

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
uses: oven-sh/setup-bun@v2
1717

1818
- name: Install dependencies
19-
run: bun install
19+
run: bun install --frozen-lockfile
2020

2121
- name: Lint
2222
run: bun lint

.gitignore

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,5 @@ package-lock.json
3131
# yarn
3232
yarn.lock
3333

34-
# bun
35-
bun.lockb
36-
3734
# npm
3835
!.npmignore

bun.lockb

4.49 KB
Binary file not shown.

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "better-status-codes",
33
"description": "A much better way to handle HTTP status codes in your applications. Zero dependencies, batteries included.",
4-
"version": "2.0.5",
4+
"version": "2.0.6",
55
"license": "BSD-3-Clause",
66
"author": "Md. Touhidur Rahman",
77
"main": "dist/index.js",
@@ -25,11 +25,11 @@
2525
"build": "bun scripts/build.ts"
2626
},
2727
"devDependencies": {
28-
"@types/bun": "^1.1.10",
28+
"@types/bun": "^1.1.13",
2929
"@types/statuses": "^2.0.5",
3030
"http-status-codes": "^2.3.0",
3131
"prettier": "^3.3.3",
3232
"statuses": "^2.0.1",
33-
"typescript": "^5.6.2"
33+
"typescript": "^5.6.3"
3434
}
3535
}

0 commit comments

Comments
 (0)