File tree Expand file tree Collapse file tree 3 files changed +20
-153
lines changed
Expand file tree Collapse file tree 3 files changed +20
-153
lines changed Original file line number Diff line number Diff line change 77jobs :
88 publish-gpr :
99 runs-on : ubuntu-latest
10- steps :
11- - uses : actions/checkout@v2
12- - uses : actions/setup-node@v1
10+
11+ steps :
12+ - uses : actions/checkout@v4
13+
14+ # Set Git user name and email
15+ - name : Set Git user name and email
16+ run : |
17+ git config --global user.email "[email protected] " 18+ git config --global user.name "itsfuad"
19+
20+ - uses : actions/setup-node@v4
1321 with :
1422 node-version : 20
1523 registry-url : https://npm.pkg.github.com/
1624 scope : ' @itsfuad'
25+
1726 - run : npm install
1827 - run : npx tsc
28+
29+ # Run npm version to auto-increment the version number
30+ - name : Auto-increment version number
31+ run : npm version patch --force
32+ env :
33+ GITHUB_TOKEN : ${{secrets.GITHUB_TOKEN}}
34+
35+ # Publish the package with the updated version number
1936 - run : npm publish
2037 env :
2138 NODE_AUTH_TOKEN : ${{secrets.GITHUB_TOKEN}}
Load Diff This file was deleted.
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments