Skip to content

Commit

Permalink
created npm publish action
Browse files Browse the repository at this point in the history
  • Loading branch information
0xOmarAdel committed Feb 9, 2024
1 parent 919c42a commit d06ebc9
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: "🚀 publish"

on:
push:
branches:
- main

jobs:
release:
name: 🚀 release
runs-on: ubuntu-latest
steps:
- name: 📚 checkout
uses: actions/checkout@v2.1.1
- name: 🟢 node
uses: actions/setup-node@v1.4.2
with:
node-version: 12
registry-url: https://registry.npmjs.org
- name: 🚀 publish
run: npm publish --access public
env:
NODE_AUTH_TOKEN: ${{secrets.NPM_AUTH_TOKEN}}

0 comments on commit d06ebc9

Please sign in to comment.