diff --git a/.woodpecker/ci.yml b/.woodpecker/ci.yml index 1b4f90c..2dfe430 100644 --- a/.woodpecker/ci.yml +++ b/.woodpecker/ci.yml @@ -5,9 +5,10 @@ variables: when: - event: [push, pull_request, manual] -# Turbo remote cache is at turbo.mosaicstack.dev (ducktors/turborepo-remote-cache). -# TURBO_TOKEN is a Woodpecker secret injected via from_secret into the environment. -# Turbo picks up TURBO_API, TURBO_TOKEN, and TURBO_TEAM automatically. +# Turbo remote cache (turbo.mosaicstack.dev) is configured via Woodpecker +# repository-level environment variables (TURBO_API, TURBO_TEAM, TURBO_TOKEN). +# This avoids from_secret which is blocked on pull_request events. +# If the env vars aren't set, turbo falls back to local cache only. steps: install: @@ -18,11 +19,6 @@ steps: typecheck: image: *node_image - environment: - TURBO_API: https://turbo.mosaicstack.dev - TURBO_TEAM: mosaic - TURBO_TOKEN: - from_secret: turbo_token commands: - *enable_pnpm - pnpm typecheck @@ -32,11 +28,6 @@ steps: # lint, format, and test are independent — run in parallel after typecheck lint: image: *node_image - environment: - TURBO_API: https://turbo.mosaicstack.dev - TURBO_TEAM: mosaic - TURBO_TOKEN: - from_secret: turbo_token commands: - *enable_pnpm - pnpm lint @@ -53,11 +44,6 @@ steps: test: image: *node_image - environment: - TURBO_API: https://turbo.mosaicstack.dev - TURBO_TEAM: mosaic - TURBO_TOKEN: - from_secret: turbo_token commands: - *enable_pnpm - pnpm test @@ -66,11 +52,6 @@ steps: build: image: *node_image - environment: - TURBO_API: https://turbo.mosaicstack.dev - TURBO_TEAM: mosaic - TURBO_TOKEN: - from_secret: turbo_token commands: - *enable_pnpm - pnpm build