ci: Use latest version of Bun and Deno for CI (#3554)
Before adoption: this commit came in with the history the project adopted, so no landing records it.
* workflow: update setup-bun to v2 * workflow: use bun 1.1.33 * workflow: use deno 2.x
authored by Minsoo Choo · committed by GitHub · parent 01277aa · Browse files · 2 files·+15 added−15 removed
This commit
State
Before adoption: this commit came in with the history the project adopted, so no landing records it.
Diff stats
2 files+15 added−15 removed
- other:+15 added−15 removed
Provenance
- Commit
08e2912- Tree
2291059- Author
Minsoo Choo <minsoochoo0122@proton.me>- Committer
GitHub <noreply@github.com>- Parent
01277aa
2 files changed+15 added−15 removed
modified:.github/workflows/ci.yml+12 added-12 removed
43 unmodified lines44 - uses: actions/checkout@v445 - uses: actions/setup-node@v446 with:47 node-version: '20.x'48- - uses: oven-sh/setup-bun@v148+ - uses: oven-sh/setup-bun@v249 with:50- bun-version: '1.1.16'50+ bun-version: '1.1.33'51 - run: bun install52 - run: bun run format53 - run: bun run lint54 - run: bun run build10 unmodified lines65 - uses: actions/checkout@v466 - uses: denoland/setup-deno@v267 with:68 deno-version: v2.x69- - uses: oven-sh/setup-bun@v169+ - uses: oven-sh/setup-bun@v270 - run: bunx jsr publish --dry-run71 72 deno:73 name: 'Deno'15 unmodified lines89 name: 'Bun'90 runs-on: ubuntu-latest91 steps:92 - uses: actions/checkout@v493- - uses: oven-sh/setup-bun@v193+ - uses: oven-sh/setup-bun@v294 with:95- bun-version: '1.1.16'95+ bun-version: '1.1.33'96 - run: bun run test:bun97 - uses: actions/upload-artifact@v498 with:99 name: coverage-bun2 unmodified lines102 name: 'Fastly Compute'103 runs-on: ubuntu-latest104 steps:105 - uses: actions/checkout@v4106- - uses: oven-sh/setup-bun@v1106+ - uses: oven-sh/setup-bun@v2107 - run: bun install108 - run: bun run build109 - run: bun run test:fastly110 - uses: actions/upload-artifact@v411 unmodified lines122 - uses: actions/checkout@v4123 - uses: actions/setup-node@v4124 with:125 node-version: ${{ matrix.node }}126- - uses: oven-sh/setup-bun@v1126+ - uses: oven-sh/setup-bun@v2127 - run: bun install128 - run: bun run build129 - run: bun run test:node130 - uses: actions/upload-artifact@v49 unmodified lines140 - uses: actions/checkout@v4141 - uses: actions/setup-node@v4142 with:143 node-version: '20.x'144- - uses: oven-sh/setup-bun@v1144+ - uses: oven-sh/setup-bun@v2145 - run: bun install146 - run: bun run build147 - run: bun run test:workerd148 - uses: actions/upload-artifact@v45 unmodified lines154 name: 'AWS Lambda'155 runs-on: ubuntu-latest156 steps:157 - uses: actions/checkout@v4158- - uses: oven-sh/setup-bun@v1158+ - uses: oven-sh/setup-bun@v2159 - run: bun install160 - run: bun run build161 - run: bun run test:lambda162 - uses: actions/upload-artifact@v45 unmodified lines168 name: 'Lambda@Edge'169 runs-on: ubuntu-latest170 steps:171 - uses: actions/checkout@v4172- - uses: oven-sh/setup-bun@v1172+ - uses: oven-sh/setup-bun@v2173 - run: bun install --frozen-lockfile174 - run: bun run build175 - run: bun run test:lambda-edge176 - uses: actions/upload-artifact@v45 unmodified lines182 runs-on: ubuntu-latest183 if: github.event_name == 'pull_request'184 steps:185 - uses: actions/checkout@v4186- - uses: oven-sh/setup-bun@v1186+ - uses: oven-sh/setup-bun@v2187 - run: bun install188 - uses: actions/cache/restore@v4189 with:190 path: perf-measures/type-check/previous-result.txt18 unmodified lines209 runs-on: ubuntu-latest210 if: github.ref == 'refs/heads/main'211 steps:212 - uses: actions/checkout@v4213- - uses: oven-sh/setup-bun@v1213+ - uses: oven-sh/setup-bun@v2214 - run: bun install215 - run: bun scripts/generate-app.ts216 working-directory: perf-measures/type-check217 - run: bun tsc -p tsconfig.build.json --diagnostics > previous-result.txt5 unmodified linesmodified:.github/workflows/release.yml+3 added-3 removed
16 unmodified lines1718192021212223232425262616 unmodified lines steps: - uses: actions/checkout@v4
- name: Install deno uses: denoland/setup-deno@v1 uses: denoland/setup-deno@v2 with: deno-version: v1.x deno-version: v2.x
- name: Publish to JSR run: deno run -A jsr:@david/publish-on-tag@0.1.3 run: deno run -A jsr:@david/publish-on-tag@0.1.4