File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2727 node-version : 16
2828 registry-url : https://registry.npmjs.org/
2929 - run : npm ci
30+ - run : npm publish
31+ env :
32+ NODE_AUTH_TOKEN : ${{ secrets.NPM_TOKEN }}
33+
34+ publish-nexus :
35+ needs : build
36+ runs-on : ubuntu-latest
37+ steps :
38+ - uses : actions/checkout@v3
39+ - uses : actions/setup-node@v3
40+ with :
41+ node-version : 16
42+ - run : npm ci
3043 - run : npm config set "@veryfi:registry" "https://nexus.veryfi.com/repository/npm/"
3144 - run : npm config set "//nexus.veryfi.com/repository/npm/:username" "${{ secrets.NEXUS_NPM_USERNAME }}"
3245 - run : npm config set "//nexus.veryfi.com/repository/npm/:_password" "${{ secrets.NEXUS_NPM_PASSWORD }}"
3346 - run : npm publish
34- env :
35- NODE_AUTH_TOKEN : ${{ secrets.NPM_TOKEN }}
Original file line number Diff line number Diff line change 77 "scripts" : {
88 "test" : " jest" ,
99 "doc" : " jsdoc -d docs --configure jsconf.json main.js" ,
10- "generate-docs" : " jsdoc --configure jsdoc.json --verbose" ,
11- "postpublish" : " npm run publish-npm" ,
12- "publish-npm" : " npm publish --access public --ignore-scripts --@veryfi:registry='https://registry.npmjs.org'"
10+ "generate-docs" : " jsdoc --configure jsdoc.json --verbose"
1311 },
1412 "author" : " Veryfi <support@veryfi.com> (https://www.veryfi.com)" ,
1513 "homepage" : " https://veryfi.github.io/veryfi-nodejs/" ,
You can’t perform that action at this time.
0 commit comments