Files
radicle-explorer/.buildkite/pipeline.yml
T
Daniel Norman 8f2ddcf489 Cache npm dependencies in Buildkite
- Add twemoji as npm dependency instead of build download
- Package build assets with a Vite plugin instead of scripts
- Keep the eslint and prettier caches in one directory
2026-08-26 17:44:04 +02:00

24 lines
1.1 KiB
YAML

# Entry point for CI. garden-broker stores a bare `buildkite-agent pipeline
# upload` as the server-side configuration, so the agent looks for this file by
# its default name. The other files here are uploaded from below.
#
# The broker creates exactly one Buildkite pipeline per Radicle repo, so every
# suite lands in this single build. Keep cache volume names distinct across the
# uploaded files: volumes are scoped to the pipeline, and a step that commits a
# volume version discards what a concurrent step wrote to the same volume.
#
# Upload node-checks.yml before e2e.yml: the e2e step depends on the `check` key
# defined there, and Buildkite rejects a step whose dependency is not yet part of
# the build.
#
# Superseded builds are not cancelled. Buildkite has no YAML equivalent of the
# GitHub Actions cancel-in-progress.
steps:
- label: ":pipeline: upload"
commands:
- buildkite-agent pipeline upload .buildkite/node-checks.yml
- buildkite-agent pipeline upload .buildkite/e2e.yml
- buildkite-agent pipeline upload .buildkite/visual.yml
- buildkite-agent pipeline upload .buildkite/rust.yml