github · GitHub Actions Docs
Actions Publishing Node.js packages - GitHub Docs
A tutorial on configuring a GitHub Actions workflow to automate the publishing of Node.js packages to the GitHub Packages registry.
Derived skill
Files assembled from official documentation
Viewing SKILL.md
Actions Publishing Node.js packages - GitHub Docs
A tutorial on configuring a GitHub Actions workflow to automate the publishing of Node.js packages to the GitHub Packages registry.
When To Use
Use when you need to automate the process of testing and publishing Node.js modules to GitHub Packages using GitHub Actions workflows.
Reference Files
| File | Contains | Use For |
|---|---|---|
SKILL.md | Entry point: scope, routing table, and workflow. | Start here. |
docs/actions-publish-packages-nodejs-publishing-node-js-github-docs-workflow-guide.md | A tutorial guide for publishing Node.js packages to a registry using GitHub Actions. | Questions about a tutorial guide for publishing Node.js packages to a registry using GitHub Actions. |
examples/actions-publish-packages-nodejs-publishing-node-js-github-docs-github-ac.text | A GitHub Actions workflow YAML configuration for publishing a Node.js package to the npm registry upon a release. | Exact payloads, commands, or snippets shown in A GitHub Actions workflow YAML configuration for publishing a Node.js package to the npm registry upon a release. |
examples/actions-publish-packages-nodejs-publishing-node-js-github-docs-github-ac-2.text | A configuration snippet for an .npmrc file used to authenticate with the npm registry within a GitHub Actions workflow. | Exact payloads, commands, or snippets shown in A configuration snippet for an .npmrc file used to authenticate with the npm registry within a GitHub Actions workflow. |
examples/actions-publish-packages-nodejs-publishing-node-js-github-docs-github-ac-3.text | A YAML workflow configuration example for publishing a Node.js package to a registry using GitHub Actions. | Exact payloads, commands, or snippets shown in A YAML workflow configuration example for publishing a Node.js package to a registry using GitHub Actions. |
examples/actions-publish-packages-nodejs-publishing-node-js-github-docs-github-ac-4.text | A GitHub Actions workflow YAML configuration for publishing a Node.js package to GitHub Packages upon a release. | Exact payloads, commands, or snippets shown in A GitHub Actions workflow YAML configuration for publishing a Node.js package to GitHub Packages upon a release. |
examples/actions-publish-packages-nodejs-publishing-node-js-github-docs-github-ac-5.text | A configuration snippet for an .npmrc file used to authenticate with the GitHub Packages registry during a Node.js publishing workflow. | Exact payloads, commands, or snippets shown in A configuration snippet for an .npmrc file used to authenticate with the GitHub Packages registry during a Node.js pu... |
examples/actions-publish-packages-nodejs-publishing-node-js-github-docs-github-ac-6.text | A GitHub Actions workflow YAML configuration for publishing a Node.js package to the npm registry upon a release. | Exact payloads, commands, or snippets shown in A GitHub Actions workflow YAML configuration for publishing a Node.js package to the npm registry upon a release. |
What This Skill Covers
-
- GitHub Actions / - Tutorials / - Publish packages / - Publish Node.js packages
- Main sections:
In this article,Introduction,Prerequisites,About package configuration,Publishing packages to the npm registry.
Workflow
- Open the most relevant file under
docs/for the exact documented workflow and wording. - Open
schemas/files for exact structured contracts. - Open
examples/files for concrete requests, commands, snippets, and manifests. - Do not add behavior or configuration that is not present in the attached source files.
Canonical source: https://docs.github.com/en/actions/tutorials/publish-packages/publish-nodejs-packages
