Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 3 additions & 17 deletions .github/actions/build/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,27 +16,13 @@ description: >
runs:
using: composite
steps:
# pnpm, not bun. The other four -web repos in this organisation are bun with
# the version pinned in .mise.toml; this one has a pnpm-lock.yaml and no
# .mise.toml at all. Installing what the committed lockfile describes is the
# right thing for a pull request that is only meant to add a check --
# converting the lockfile is a separate change with its own risk.
- uses: pnpm/action-setup@b906affcce14559ad1aafd4ab0e942779e9f58b1 # v4
with:
version: 9

- uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4
with:
node-version: 22
cache: pnpm

# --frozen-lockfile so CI fails on a lockfile that does not match
# package.json, rather than quietly resolving something newer than what
# anyone has run locally.
- name: Install dependencies
- name: Install JS dependencies
shell: bash
run: pnpm install --frozen-lockfile
run: bun install --frozen-lockfile

- name: Build
shell: bash
run: pnpm run build
run: bun run build
5 changes: 5 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,11 @@ jobs:
# comment so the version is still readable.
- uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4

# Reads .mise.toml, which is where bun's version is pinned -- the same
# arrangement the four sibling -web repos use. This repository was the odd
# one out on pnpm with no .mise.toml at all.
- uses: jdx/mise-action@c37c93293d6b742fc901e1406b8f764f6fb19dac # v2

- name: Build
uses: ./.github/actions/build

Expand Down
2 changes: 2 additions & 0 deletions .mise.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
[tools]
bun = "1.3"
Loading
Loading