Skip to content

Commit

Permalink
Update npm-publish.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
DanielPobarzin committed Jan 2, 2024
1 parent 27cf865 commit a023528
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/npm-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,16 +14,18 @@ jobs:
uses: actions/setup-node@v1
with:
node-version: 16
registry-url: https://www.npmjs.com/settings/danissimo1312/packages/
registry-url: https://www.npmjs.com/org/

- name: "Edit config"
run: git config --global user.name "daniil.nyashka@gmail.com" && git config --global user.name "Daniel"
- name: "Version patch"
run: npm version 0.1.$GITHUB_RUN_ID
- name: "Install dependencies"
run: npm install
- name: "Npm login"
run: npm login --loglevel verbose
- name: "Npm publish"
run: npm publish --loglevel verbose
run: npm publish
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
- name: "Telegram Notification"
Expand Down

0 comments on commit a023528

Please sign in to comment.