mirror of
https://github.com/dadosfera/maestro.git
synced 2026-11-12 11:59:08 +00:00
CI: Adding semantic-release/npm to modify package.json version
This commit is contained in:
@@ -20,6 +20,7 @@ jobs:
|
|||||||
semantic_version: 16
|
semantic_version: 16
|
||||||
extra_plugins: |
|
extra_plugins: |
|
||||||
@semantic-release/git
|
@semantic-release/git
|
||||||
|
@semantic-release/npm
|
||||||
conventional-changelog-eslint
|
conventional-changelog-eslint
|
||||||
branches: |
|
branches: |
|
||||||
[
|
[
|
||||||
@@ -72,6 +73,7 @@ jobs:
|
|||||||
uses: aws-actions/amazon-ecr-login@v1
|
uses: aws-actions/amazon-ecr-login@v1
|
||||||
|
|
||||||
- name: Build, Tag, and Push Image to AWS ECR
|
- name: Build, Tag, and Push Image to AWS ECR
|
||||||
|
if: steps.semantic.outputs.new_release_published == 'true'
|
||||||
env:
|
env:
|
||||||
ENV: ${{ steps.extract_environment.outputs.result }}
|
ENV: ${{ steps.extract_environment.outputs.result }}
|
||||||
IMAGE_TAG: ${{ steps.semantic.outputs.new_release_version }}
|
IMAGE_TAG: ${{ steps.semantic.outputs.new_release_version }}
|
||||||
@@ -80,6 +82,7 @@ jobs:
|
|||||||
docker-compose -f build.docker-compose.yml push
|
docker-compose -f build.docker-compose.yml push
|
||||||
|
|
||||||
- name: Create ZIP file to Deploy AWS Beanstalk
|
- name: Create ZIP file to Deploy AWS Beanstalk
|
||||||
|
if: steps.semantic.outputs.new_release_published == 'true'
|
||||||
env:
|
env:
|
||||||
ENV: ${{ steps.extract_environment.outputs.result }}
|
ENV: ${{ steps.extract_environment.outputs.result }}
|
||||||
IMAGE_TAG: ${{ steps.semantic.outputs.new_release_version }}
|
IMAGE_TAG: ${{ steps.semantic.outputs.new_release_version }}
|
||||||
@@ -89,6 +92,7 @@ jobs:
|
|||||||
zip deploy.zip docker-compose.yml
|
zip deploy.zip docker-compose.yml
|
||||||
|
|
||||||
- name: Deploy AWS Beanstalk
|
- name: Deploy AWS Beanstalk
|
||||||
|
if: steps.semantic.outputs.new_release_published == 'true'
|
||||||
env:
|
env:
|
||||||
ENV: ${{ steps.extract_environment.outputs.result }}
|
ENV: ${{ steps.extract_environment.outputs.result }}
|
||||||
AWS_REGION: us-east-1
|
AWS_REGION: us-east-1
|
||||||
|
|||||||
@@ -26,6 +26,7 @@
|
|||||||
"preset": "eslint"
|
"preset": "eslint"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
|
"@semantic-release/npm",
|
||||||
"@semantic-release/github",
|
"@semantic-release/github",
|
||||||
[
|
[
|
||||||
"@semantic-release/git", {
|
"@semantic-release/git", {
|
||||||
|
|||||||
Reference in New Issue
Block a user