File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -3,32 +3,31 @@ name: Publish Package
33on :
44 push :
55 branches :
6- - main # asosiy branch
6+ - main
77
88jobs :
99 publish :
1010 runs-on : ubuntu-latest
1111
1212 steps :
13- # Repo klonlash
1413 - uses : actions/checkout@v4
1514
16- # Node.js o‘rnatish
1715 - uses : actions/setup-node@v3
1816 with :
1917 node-version : 20
2018 registry-url : https://registry.npmjs.org
2119
22- # npm token bilan login
2320 - run : npm config set //registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN }}
2421
25- # Dependencies o‘rnatish
2622 - run : npm ci
2723
28- # Test optional
29- - run : npm test
24+ # Git identity sozlash
25+ - name : Set Git identity
26+ run : |
27+ git config --global user.name "nneo"
28+ git config --global user.email "javohirtech@gmail.com"
3029
31- # Version update
30+ # Patch version
3231 - run : npm version patch
3332
3433 # Publish
You can’t perform that action at this time.
0 commit comments