Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature/pipe gateway #24

Merged
merged 15 commits into from
Jul 5, 2024
12 changes: 11 additions & 1 deletion .github/workflows/update_pkg_version.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ on:
description: "Choose version type"
type: choice
required: true
default: "patch"
default: "beta"
options:
- patch
- minor
Expand All @@ -23,15 +23,25 @@ on:
- downgrade

permissions:
id-token: write
contents: write
packages: write

jobs:
approval-gate:
environment: manual-deploy
runs-on: ubuntu-latest
steps:
- name: Approved
run: echo "Approve for manual-deploy"

update_pkg_version:
name: Update package - Manual
needs: approval-gate
uses: ./.github/workflows/update_pkg.yml
with:
command-type: ${{ github.event.inputs.version-type }}

publish_pkg:
name: Publish package
needs: update_pkg_version
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 4 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "event-message-broker",
"description": "A Message Bus that uses AWS Stack and RabbitMQ",
"version": "1.0.26",
"version": "1.1.0",
"previousVersions": [
"1.0.15",
"1.0.16",
Expand All @@ -13,7 +13,9 @@
"1.0.22",
"1.0.23",
"1.0.24",
"1.0.25"
"1.0.25",
"1.0.26",
"1.0.27-beta.0"
],
"main": "./build/cjs/index.js",
"types": "./build/types/index.d.ts",
Expand Down