Skip to content

Add npm publish pipeline for @shopify/shopify-ai-toolkit#7

Closed
nelsonwittwer wants to merge 2 commits intonw/fix-skill-md-frontmatterfrom
nw/npm-publish-pipeline
Closed

Add npm publish pipeline for @shopify/shopify-ai-toolkit#7
nelsonwittwer wants to merge 2 commits intonw/fix-skill-md-frontmatterfrom
nw/npm-publish-pipeline

Conversation

@nelsonwittwer
Copy link
Copy Markdown
Collaborator

Summary

  • Rename package to @shopify/shopify-ai-toolkit, remove private, add files: ["skills/", "README.md"]
  • Add .github/workflows/publish-npm.yml: triggers on release created, verifies package.json version matches the release tag, publishes via shopify-ubuntu-latest (internal runner handles npm auth)

How to publish

  1. Bump version in package.json and merge to main
  2. Create a GitHub release tagged v<version> — the workflow fires automatically

🤖 Generated with Claude Code

nelsonwittwer and others added 2 commits April 6, 2026 19:06
- Update package.json: name → @shopify/shopify-ai-toolkit, remove private,
  add files (skills/ + README.md), repository and homepage fields
- Add publish-npm.yml workflow: triggers on GitHub release published,
  stamps version from the release tag, publishes with provenance

Requires an NPM_TOKEN secret in repo settings (with publish access to
the @Shopify org on npm).

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
- Use shopify-ubuntu-latest runner (handles npm auth internally)
- Pin action SHAs to match dev-mcp security practice
- Use release: created (consistent with dev-mcp)
- Add version verification step (package.json must match release tag)
- Remove explicit NPM_TOKEN secret (not needed with internal runner)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Apr 6, 2026

Thanks for your interest but we don't accept pull requests. Any pull requests will be automatically closed.

If you have feedback or suggestions, please share them in the Shopify Developer Community.

If you are a Shopify employee, please reach out to Dev Tools: Dev Experience team at help-dev-platform.

@github-actions github-actions bot closed this Apr 6, 2026
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.

1 participant