Skip to content

Commit 4777baf

Browse files
author
Chris Wiechmann
committed
Back to API-Builder-Ext package scope
1 parent 4b082de commit 4777baf

File tree

3 files changed

+24
-2
lines changed

3 files changed

+24
-2
lines changed

.github/workflows/plugin-dc-postgres-publish.yml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,33 @@ on:
1010
- '*plugin-dc-postgres*'
1111

1212
jobs:
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

api-builder-plugin-dc-postgres/config/postgres.default.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
module.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,

api-builder-plugin-dc-postgres/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
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": {

0 commit comments

Comments
 (0)