Skip to content

Conversation

@cjcenizal
Copy link
Contributor

NPM is sunsetting the old tokens that we were using to publish to NPM. They advise using trusted publishers for publishing via CI/CD instead.

This change will also run the unit tests before publishing. Apparently we haven't ran them in a while, so they needed fixing. As part of the fix, I noticed VuiSummary produced invalid DOM (nesting divs inside of a p tag), so I fixed that too.

@github-actions
Copy link

github-actions bot commented Dec 3, 2025

PR Preview Action v1.6.3
Preview removed because the pull request was closed.
2025-12-03 17:38 UTC

@cjcenizal cjcenizal force-pushed the chore/publish-trusted-workflow branch from 0e64ae5 to 42c7efa Compare December 3, 2025 16:31
Copy link
Contributor

@musabsohail musabsohail left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approving ✅. Should we test-run this on the current branch before merging?


- uses: actions/setup-node@v4
with:
node-version: "20"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

.nvmrc has version v18.13.0

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

needs: [check-version-change]
if: needs.check-version-change.outputs.did-version-change == 'true'
steps:
- uses: actions/checkout@v4
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Also you might want to check actions/checkout@v4 here and v2 on line 46.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good catch! Thanks.

@cjcenizal cjcenizal merged commit 9bb1772 into main Dec 3, 2025
1 check passed
@cjcenizal cjcenizal deleted the chore/publish-trusted-workflow branch December 3, 2025 17:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants