Merge branch 'codigoencasa:dev' into dev

This commit is contained in:
2023-01-17 09:43:53 -06:00
committed by GitHub
3 changed files with 19 additions and 16 deletions

View File

@@ -10,9 +10,15 @@ jobs:
release:
name: Release
runs-on: ubuntu-latest
outputs:
commit: ${{ steps.vars.outputs.commit }}
steps:
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0
ref: ${{github.event.after}}
persist-credentials: false
- name: Setup Node
uses: actions/setup-node@v3
@@ -50,8 +56,9 @@ jobs:
- name: Release @bot-whatsapp/portal
run: yarn node ./scripts/release.js --name=portal --version= --token="${{ secrets.NPM_TOKEN }}"
- name: Commit Versioning & Push changes
uses: stefanzweifel/git-auto-commit-action@v4
- name: Commit & Push changes
uses: actions-js/push@master
with:
commit_message: 'ci(version): :zap: automatic - "${date}" updated versions every packages'
branch: dev
branch: release/next
github_token: ${{ secrets.GITHUB_TOKEN }}
force: true

View File

@@ -67,13 +67,9 @@ jobs:
- name: Release Github
run: yarn node ./scripts/github.js --version="${{ steps.package-version.outputs.current-version}}" --token="${{ secrets.OCTO_TOKEN }}"
- name: 'Run if changes have been detected'
run: |
git add .
git commit -m "chore(version): pre release"
- name: Commit Versioning & Push changes
if: github.event_name == 'push'
uses: stefanzweifel/git-auto-commit-action@v4
- name: Commit & Push changes
uses: actions-js/push@master
with:
commit_message: 'chore(version): launch release 🚀 "${{ steps.package-version.outputs.current-version}}"'
branch: release/production
github_token: ${{ secrets.GITHUB_TOKEN }}
force: true

View File

@@ -48,11 +48,11 @@ const nextSteps = async () => {
name: 'providerWs',
message: '¿Cuál proveedor de whatsapp quieres utilizar?',
choices: [
{ title: 'whatsapp-web.js (gratis)', value: 'wweb' },
{ title: 'Venom (gratis)', value: 'venom' },
{ title: 'Baileys (gratis)', value: 'baileys' },
{ title: 'Venom (gratis)', value: 'venom' },
{ title: 'whatsapp-web.js (gratis)', value: 'wweb' },
{ title: 'Twilio', value: 'twilio' },
{ title: 'API Oficial (Meta)', value: 'meta' },
{ title: 'Meta', value: 'meta' },
],
max: 1,
hint: 'Espacio para seleccionar',