File tree Expand file tree Collapse file tree 3 files changed +24
-2
lines changed
api-builder-plugin-dc-postgres Expand file tree Collapse file tree 3 files changed +24
-2
lines changed Original file line number Diff line number Diff line change 1010 - ' *plugin-dc-postgres*'
1111
1212jobs :
13+ publish-gpr :
14+ env :
15+ # This must be aligned with the folder-name of you plugin
16+ workingDirectory : ' api-builder-plugin-dc-postgres'
17+ CI : true
18+ runs-on : ubuntu-latest
19+ steps :
20+ - uses : actions/checkout@v1
21+ - uses : actions/setup-node@v1
22+ with :
23+ node-version : 12
24+ registry-url : https://npm.pkg.github.com/
25+ scope : ' @Axway-API-Builder-Ext'
26+ - name : Publish to GitHub package repo
27+ working-directory : ${{env.workingDirectory}}
28+ env :
29+ NODE_AUTH_TOKEN : ${{secrets.GITHUB_TOKEN}}
30+ run : |
31+ npm ci
32+ npm publish
33+
1334 publish-npm :
1435 env :
1536 # This must be aligned with the folder-name of you plugin
1637 workingDirectory : ' api-builder-plugin-dc-postgres'
1738 CI : true
39+ needs : [publish-gpr]
1840 runs-on : ubuntu-latest
1941 steps :
2042 - uses : actions/checkout@v1
Original file line number Diff line number Diff line change 1010module . exports = {
1111 connectors : {
1212 postgres : {
13- connector : '@axway/api-builder-plugin-dc-postgres' ,
13+ connector : '@axway-api-builder-ext /api-builder-plugin-dc-postgres' ,
1414 connectionPooling : true ,
1515 connectionLimit : 10 ,
1616 host : process . env . POSTGRES_HOST ,
Original file line number Diff line number Diff line change 11{
2- "name" : " @axway/api-builder-plugin-dc-postgres" ,
2+ "name" : " @axway-api-builder-ext /api-builder-plugin-dc-postgres" ,
33 "description" : " PostgreSQL data connector for Axway API Builder" ,
44 "version" : " 1.0.1" ,
55 "author" : {
You can’t perform that action at this time.
0 commit comments