Prompt Buddy logoPrompt Buddy

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.

Import to Prompt Buddy

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

FileContainsUse For
SKILL.mdEntry point: scope, routing table, and workflow.Start here.
docs/actions-publish-packages-nodejs-publishing-node-js-github-docs-workflow-guide.mdA 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.textA 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.textA 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.textA 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.textA 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.textA 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.textA 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

  1. Open the most relevant file under docs/ for the exact documented workflow and wording.
  2. Open schemas/ files for exact structured contracts.
  3. Open examples/ files for concrete requests, commands, snippets, and manifests.
  4. 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