chore: update `bun install` commands to use `--frozen-lockfile` (#4398)
Before adoption: this commit came in with the history the project adopted, so no landing records it.
authored by 3w36zj6 · committed by GitHub · parent 9b0a8f5 · Browse files · 8 files·+14 added−14 removed
This commit
State
Before adoption: this commit came in with the history the project adopted, so no landing records it.
Diff stats
8 files+14 added−14 removed
- other:+14 added−14 removed
Provenance
- Commit
2f489b3- Tree
e3ac550- Author
3w36zj6 <52315048+3w36zj6@users.noreply.github.com>- Committer
GitHub <noreply@github.com>- Parent
9b0a8f5
8 files changed+14 added−14 removed
modified:.github/actions/perf-measures/action.yml+1 added-1 removed
12 unmodified lines1314151617171819202142 unmodified lines12 unmodified lines - uses: actions/checkout@v4 - uses: oven-sh/setup-bun@v2 with: bun-version-file: '.tool-versions' - run: bun install - run: bun install --frozen-lockfile shell: bash
- name: Performance measurement of type check (tsc) run: |42 unmodified linesmodified:.github/workflows/autofix.yml+1 added-1 removed
21 unmodified lines222324252626272829302 unmodified lines21 unmodified lines uses: actions/checkout@v4 - uses: oven-sh/setup-bun@v2 with: bun-version-file: '.tool-versions' - run: bun install - run: bun install --frozen-lockfile - run: bun run format:fix - run: bun run lint:fix - name: Apply fixes uses: autofix-ci/action@v12 unmodified linesmodified:.github/workflows/ci.yml+7 added-7 removed
40 unmodified lines41 node-version-file: '.tool-versions'42 - uses: oven-sh/setup-bun@v243 with:44 bun-version-file: '.tool-versions'45- - run: bun install45+ - run: bun install --frozen-lockfile46 - run: bun run format47 - run: bun run lint48 - run: bun run editorconfig-checker -format github-actions49 - run: bun run build41 unmodified lines91 - uses: actions/checkout@v492 - uses: oven-sh/setup-bun@v293 with:94 bun-version-file: '.tool-versions'95- - run: bun install95+ - run: bun install --frozen-lockfile96 - run: bun run test:bun97 - uses: actions/upload-artifact@v498 with:99 name: coverage-bun16 unmodified lines116 - uses: actions/checkout@v4117 - uses: oven-sh/setup-bun@v2118 with:119 bun-version-file: '.tool-versions'120- - run: bun install120+ - run: bun install --frozen-lockfile121 - run: bun run build122 - run: bun run test:fastly123 124 node:9 unmodified lines134 node-version: ${{ matrix.node }}135 - uses: oven-sh/setup-bun@v2136 with:137 bun-version-file: '.tool-versions'138- - run: bun install138+ - run: bun install --frozen-lockfile139 - run: bun run build140 - run: bun run test:node141 142 workerd:6 unmodified lines149 node-version-file: '.tool-versions'150 - uses: oven-sh/setup-bun@v2151 with:152 bun-version-file: '.tool-versions'153- - run: bun install153+ - run: bun install --frozen-lockfile154 - run: bun run build155 - run: bun run test:workerd156 157 lambda:3 unmodified lines161 - uses: actions/checkout@v4162 - uses: oven-sh/setup-bun@v2163 with:164 bun-version-file: '.tool-versions'165- - run: bun install165+ - run: bun install --frozen-lockfile166 - run: bun run build167 - run: bun run test:lambda168 169 lambda-edge:26 unmodified lines196 - uses: actions/checkout@v4197 - uses: oven-sh/setup-bun@v2198 with:199 bun-version-file: '.tool-versions'200- - run: bun install200+ - run: bun install --frozen-lockfile201 - name: Install bombardier202 run: |203 wget -O bombardier https://github.com/codesenberg/bombardier/releases/download/v2.0.1/bombardier-linux-amd64204 chmod +x bombardier57 unmodified linesmodified:.github/workflows/cr.yml+1 added-1 removed
27 unmodified lines282930313232333435363 unmodified lines27 unmodified lines with: bun-version-file: '.tool-versions'
- name: Install Dependencies run: bun install run: bun install --frozen-lockfile
- name: Build run: bun run build
3 unmodified linesmodified:benchmarks/http-server/benchmark.ts+1 added-1 removed
111 unmodified lines112 // No changes to stash113 }114 115 await runCommand(`git checkout ${version}`, HONO_ROOT)116- await runCommand('bun install', HONO_ROOT)116+ await runCommand('bun install --frozen-lockfile', HONO_ROOT)117 // No build needed - use src directly118 }119 120 const versionDir = join(TEMP_DIR, name)206 unmodified linesmodified:benchmarks/routers/README.md+1 added-1 removed
14 unmodified lines1516171819192021222315 unmodified lines14 unmodified lines
Install:
```bun installbun install --frozen-lockfile```
For Node.js:
15 unmodified linesmodified:docs/CONTRIBUTING.md+1 added-1 removed
23 unmodified lines24 25 After that, please install the dependency environment.26 27 ```bash28-bun install28+bun install --frozen-lockfile29 ```30 31 ## PRs32 24 unmodified linesmodified:.gitpod.yml+1 added-1 removed
123345672 unmodified linestasks: - name: Setup init: bun install --no-save init: bun install --frozen-lockfileimage: file: ./.devcontainer/Dockerfilevscode: extensions:2 unmodified lines