Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
This pull request prepares layout-style-css for the 1.1.1 release by aligning versioning/documentation with the new release number, hardening the npm publish GitHub Actions workflow around published releases + manual recovery, and improving CI test reliability (notably for locked-down Windows runners).
Changes:
- Updated the npm publish workflow to run on
release.published, addedworkflow_dispatchwith an explicitrelease_tag, enforced tag ↔ package version alignment, and moved to Node.js 22 with npm caching. - Bumped the package version to
1.1.1and updated documentation/release checklists accordingly. - Improved Playwright smoke test reliability by keeping temp/artifact paths inside the repo workspace, and extended contract tests to validate the updated workflow contract.
Reviewed changes
Copilot reviewed 9 out of 11 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
test/layout-css-contract.test.mjs |
Updates version assertions and adds contract checks to ensure the npm publish workflow matches the new release process. |
test/demo-smoke.test.mjs |
Forces Playwright temp dirs into the repo workspace to improve reliability on restricted runners. |
README.md |
Updates install/publish instructions and references to 1.1.1. |
package.json |
Bumps package version to 1.1.1. |
package-lock.json |
Synchronizes lockfile version metadata to 1.1.1. |
docs/wiki/Release-And-Publishing.md |
Updates the release checklist and tag guidance for 1.1.1 + new workflow behavior. |
docs/wiki/Home.md |
Updates wiki version references and release checklist link text to 1.1.1. |
CHANGELOG.md |
Updates the release heading/content for 1.1.1 and notes workflow fixes. |
.npmrc |
Adds a repo-local npm cache directory configuration. |
.gitignore |
Ignores .npm-cache/ and .tmp/ added by the new caching/test behavior. |
.github/workflows/npm-publish.yml |
Implements the updated publish trigger + manual dispatch, Node 22, caching, and tag/version validation. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This pull request prepares the
layout-style-cssproject for the1.1.1release, focusing on improving the npm publish workflow, updating documentation and versioning, and enhancing test reliability. The most significant changes are grouped below.Release process improvements:
.github/workflows/npm-publish.yml) to trigger onrelease.publishedevents instead ofrelease.created, added a manual dispatch option with explicitrelease_tag, enforced tag/package version alignment, switched to Node.js 22, enabled npm caching, and improved verification steps. The workflow now uses the standardNPM_TOKENsecret and ensures the correct release tag is published..npmrcfor more reliable and faster installs.Documentation and version updates:
1.1.1inpackage.jsonand updated all references inREADME.md,CHANGELOG.md, and wiki docs to reflect the new release, including instructions, checklists, and CDN links. [1] [2] [3] [4] [5] [6] [7] [8] [9] [10] [11] [12] [13] [14]Test and CI reliability:
test/layout-css-contract.test.mjs) to assert that the npm publish workflow is correctly configured for the new release process, and updated all version assertions to1.1.1. [1] [2] [3] [4] [5]These updates ensure a smoother, more reliable release and publishing process, and keep the documentation and tests aligned with the new release workflow.