CI: Adding semantic-release/npm to modify package.json version

This commit is contained in:
alexsanderp
2022-02-09 19:14:55 -03:00
parent 160a745cba
commit 51d65414a2
2 changed files with 5 additions and 0 deletions
+4
View File
@@ -20,6 +20,7 @@ jobs:
semantic_version: 16
extra_plugins: |
@semantic-release/git
@semantic-release/npm
conventional-changelog-eslint
branches: |
[
@@ -72,6 +73,7 @@ jobs:
uses: aws-actions/amazon-ecr-login@v1
- name: Build, Tag, and Push Image to AWS ECR
if: steps.semantic.outputs.new_release_published == 'true'
env:
ENV: ${{ steps.extract_environment.outputs.result }}
IMAGE_TAG: ${{ steps.semantic.outputs.new_release_version }}
@@ -80,6 +82,7 @@ jobs:
docker-compose -f build.docker-compose.yml push
- name: Create ZIP file to Deploy AWS Beanstalk
if: steps.semantic.outputs.new_release_published == 'true'
env:
ENV: ${{ steps.extract_environment.outputs.result }}
IMAGE_TAG: ${{ steps.semantic.outputs.new_release_version }}
@@ -89,6 +92,7 @@ jobs:
zip deploy.zip docker-compose.yml
- name: Deploy AWS Beanstalk
if: steps.semantic.outputs.new_release_published == 'true'
env:
ENV: ${{ steps.extract_environment.outputs.result }}
AWS_REGION: us-east-1
+1
View File
@@ -26,6 +26,7 @@
"preset": "eslint"
}
],
"@semantic-release/npm",
"@semantic-release/github",
[
"@semantic-release/git", {