Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[spam] #3549

Closed
wants to merge 1 commit into from
Closed

[spam] #3549

wants to merge 1 commit into from

Conversation

nodoubtz
Copy link

Hi there, I'm nodoubtz! 👋

I'm a passionate software developer with a love for solving complex problems and building innovative solutions. Welcome to my GitHub profile!

🚀 About Me

  • 🔭 I’m currently working on [Your Current Project]
  • 🌱 I’m currently learning Quantum computing]
  • 👯 I’m looking to collaborate on [Open Source Projects or Areas of Interest]
  • 🤔 I’m looking for help with []
  • 💬 Ask me about [Your Expertise or Areas of Knowledge]
  • 📫 How to reach me: [Dimvy_Clothing_Brand]
  • ⚡ Fun fact: [I'm Satoshi Nakamoto]

🛠️ Technologies & Tools

Python
JavaScript
HTML5
CSS3
React
Node.js
Docker
Git
GitHub

📈 GitHub Stats

nodoubtz's GitHub stats

📫 Get in Touch

Thanks for visiting my profile! Feel free to reach out if you want to connect or collaborate on a project.

Copy link
Author

@nodoubtz nodoubtz left a comment

Choose a reason for hiding this comment

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

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

name: Node.js Package

on:
release:
types: [created]

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20
- run: npm ci
- run: npm test

publish-npm:
needs: build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20
registry-url: https://registry.npmjs.org/
- run: npm ci
- run: npm publish
env:
NODE_AUTH_TOKEN: ${{ secrets.npm_token }}

Copy link
Author

@nodoubtz nodoubtz left a comment

Choose a reason for hiding this comment

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

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

name: Node.js Package

on:
release:
types: [created]

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20
- run: npm ci
- run: npm test

publish-npm:
needs: build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20
registry-url: https://registry.npmjs.org/
- run: npm ci
- run: npm publish
env:
NODE_AUTH_TOKEN: ${{ secrets.npm_token }}

Copy link
Author

@nodoubtz nodoubtz left a comment

Choose a reason for hiding this comment

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

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

name: Node.js Package

on:
release:
types: [created]

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20
- run: npm ci
- run: npm test

publish-npm:
needs: build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20
registry-url: https://registry.npmjs.org/
- run: npm ci
- run: npm publish
env:
NODE_AUTH_TOKEN: ${{ secrets.npm_token }}

@nodoubtz nodoubtz closed this Mar 13, 2025
@ljharb ljharb changed the title Create npm-publish.yml [spam] Mar 13, 2025
@ljharb ljharb added the non-issue / invalid This isn't relevant to nvm, or turned out to be something unrelated. label Mar 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
non-issue / invalid This isn't relevant to nvm, or turned out to be something unrelated.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants