Skip to content

أضف سير عمل GitHub Actions لنشر حزمة npm - #99

Draft
rmoozy77729-maker wants to merge 1 commit into
node-real:mainfrom
rmoozy77729-maker:main
Draft

rmoozy77729-maker wants to merge 1 commit into
node-real:mainfrom
rmoozy77729-maker:main

Conversation

@rmoozy77729-maker

Copy link
Copy Markdown

This workflow runs tests and publishes a Node.js package to GitHub Packages upon release creation.

This workflow runs tests and publishes a Node.js package to GitHub Packages upon release creation.
@rmoozy77729-maker
rmoozy77729-maker marked this pull request as draft September 11, 2026 18:25

@rmoozy77729-maker rmoozy77729-maker left a comment

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

0x7c682c07b7a47ab232661c71a10b0bb67b2245dc

@@ -0,0 +1,36 @@
# This workflow will run tests using node and then publish a package to GitHub Packages when a release is created
# For more information see: https://docs.github.com/en/actions/publishing-packages/publishing-nodejs-packages

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

0x7c682c07b7a47ab232661c71a10b0bb67b2245dc

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

0x7c682c07b7a47ab232661c71a10b0bb67b2245dc

# For more information see: https://docs.github.com/en/actions/publishing-packages/publishing-nodejs-packages

name: Node.js Package

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

0x7c682c07b7a47ab232661c71a10b0bb67b2245dc

registry-url: https://npm.pkg.github.com/
- run: npm ci
- run: npm publish
env:

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

0x7c682c07b7a47ab232661c71a10b0bb67b2245dc

registry-url: https://npm.pkg.github.com/
- run: npm ci
- run: npm publish
env:

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

0x7c682c07b7a47ab232661c71a10b0bb67b2245dc

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