Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update design tokens package scripts for CI #459

Merged
merged 6 commits into from
Aug 19, 2024
Merged

Conversation

ty2k
Copy link
Contributor

@ty2k ty2k commented Aug 19, 2024

This PR updates the scripts in the packages/design-tokens/package.json file to make the scripts work better with our GitHub Actions CI environment.

The scripts work the same with the exception of the prepare-npm-package script, which now includes an additional step to copy the latest package.json version field into the dist/package.json file that gets distributed on npm. This requires jq to be installed on a developer's machine when running locally, but our GitHub Actions workflow file to publish new design token packages already includes a step to install jq.

@ty2k ty2k added enhancement New feature or request dependencies Pull requests that update a dependency file labels Aug 19, 2024
@ty2k ty2k added this to the Design tokens v3.1.0 milestone Aug 19, 2024
@ty2k ty2k requested a review from mkernohanbc August 19, 2024 23:06
@ty2k ty2k self-assigned this Aug 19, 2024
@ty2k ty2k merged commit 9562319 into main Aug 19, 2024
3 checks passed
@ty2k ty2k deleted the ci/design-tokens-scripts branch August 19, 2024 23:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants