You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: .github/workflows/tokens_studio_release.yaml
+10-2Lines changed: 10 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -69,13 +69,21 @@ jobs:
69
69
if: steps.setup-cache.outputs.cache-hit != 'true'
70
70
run: pnpm install --force
71
71
- name: Pull tokens from Tokens Studio
72
-
run: pnpm --filter @equinor/eds-tokens exec studio tokens pull --ci
72
+
run: pnpm --filter @equinor/eds-tokens exec studio tokens pull --ci --verbose
73
+
# Runs the saved "EDS" export configuration (CSS Variables) on the
74
+
# platform and writes the generated CSS files. This output will
75
+
# replace the local Style Dictionary build in the new pipeline —
76
+
# it is not yet wired into the package exports map.
77
+
# --verbose because the run is unattended and the resulting PR gets
78
+
# no CI — the Actions log is the only place to diagnose a bad export
79
+
- name: Run CSS export from Tokens Studio
80
+
run: pnpm --filter @equinor/eds-tokens exec studio exports run EDS --ci --verbose --out src/tokens/css
73
81
- name: Create Pull Request
74
82
uses: peter-evans/create-pull-request@v8
75
83
with:
76
84
commit-message: 'chore: update tokens from Tokens Studio release'
77
85
title: 'chore: update tokens from Tokens Studio release'
78
-
body: 'Automated pull of the token state after a Tokens Studio release, via the CI integration and `studio tokens pull`. See `packages/eds-tokens/.studio.json` for the configured sources.'
86
+
body: 'Automated pull of the token state after a Tokens Studio release: raw token sets via `studio tokens pull` (sources in `packages/eds-tokens/.studio.json`) and generated CSS via `studio exports run EDS` into `packages/eds-tokens/src/tokens/css/`.'
79
87
branch: tokens-studio-release
80
88
# This workflow runs unattended (release-triggered) and the PR it
81
89
# creates gets no CI runs, so a failed pull must not be silent
0 commit comments