File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2323
2424 - run : npm publish --provenance --access public
2525 env :
26- NODE_AUTH_TOKEN : ${{ secrets.NPM_TOKEN }}
26+ NODE_AUTH_TOKEN : ${{ secrets.NPM_TOKEN }}
27+
28+ github :
29+ runs-on : ubuntu-latest
30+ permissions :
31+ contents : read
32+ id-token : write
33+ steps :
34+ - uses : actions/checkout@v4
35+
36+ - uses : actions/setup-node@v4
37+ with :
38+ node-version : ' 20.x'
39+ registry-url : ' https://npm.pkg.github.com'
40+ scope : ' @hostinger'
41+
42+ - run : npm install
43+
44+ - run : npm publish --provenance --access public
45+ env :
46+ NODE_AUTH_TOKEN : ${{ secrets.GITHUB_TOKEN }}
Original file line number Diff line number Diff line change 11{
2- "name" : " @ hostinger/api" ,
3- "version" : " 0.0.5 " ,
2+ "name" : " hostinger/api" ,
3+ "version" : " 0.0.1 " ,
44 "description" : " Hostinger API TypeScript SDK" ,
55 "author" : " Hostinger" ,
66 "repository" : {
You can’t perform that action at this time.
0 commit comments