- Update the version in package.json.
- Regenerate derived artifacts with
npm run generate-skills. - Verify the generated version in skills/webperf/SKILL.md.
- Run:
npm run lint
npm run build
npm run check:consistency
npm run generate-skills:check- Commit the source changes together with regenerated
skills/anddist/.
The release workflow is triggered by pushing a tag that matches v*.
Example:
git tag v1.2.1
git push origin v1.2.1The release workflow:
- Installs dependencies with
npm ci - Regenerates
skills/ - Packages each generated skill as a zip
- Publishes a GitHub Release with:
webperf-skills-all.zipwebperf.zipwebperf-core-web-vitals.zipwebperf-loading.zipwebperf-interaction.zipwebperf-media.zipwebperf-resources.zip
skills/webperf/SKILL.mdversion does not matchpackage.jsonskills/ordist/are stale relative tosnippets/orpages/_meta.jsonentries drift from the actual MDX files- Published snippet counts in
README.md,SKILLS.md, orskills/webperf/SKILL.mdare outdated