bcgov / design-system

The B.C. Design System helps public sector design and development teams build consistent, accessible products
https://gov.bc.ca/designsystem
Apache License 2.0
56 stars 38 forks source link

Add GitHub Actions workflow to publish design tokens library to npm #457

Closed ty2k closed 1 month ago

ty2k commented 1 month ago

This adds a GitHub Actions workflow file to publish a new version of the @bcgov/design-tokens library to npm on the next tag when a PR is merged that updates files in packages/design-tokens. This mirrors the behaviour of the React components library, giving us a new release candidate to test from npm on each merge. Adding new production versions to the default latest tag remains a manual step.