Skip to content

Commit

Permalink
fix(ci): ⚡ github action
Browse files Browse the repository at this point in the history
fix(ci): ⚡ github action
  • Loading branch information
leifermendez authored Dec 12, 2022
2 parents aad129e + 739c63d commit cf1dc6f
Show file tree
Hide file tree
Showing 8 changed files with 13 additions and 17 deletions.
16 changes: 6 additions & 10 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,8 @@
name: BotWhatsapp CI

on:
push:
branches:
- main
pull_request:
branches:
- main
- dev

jobs:
Expand Down Expand Up @@ -80,12 +76,12 @@ jobs:
- name: Release @bot-whatsapp/provider
run: yarn node ./scripts/release.js --name=provider --version= --token="${{ secrets.NPM_TOKEN }}"

- name: Commit Versioning
run: |
git config --global user.name 'Leifer Mendez (githubaction)'
git config --global user.email '[email protected]'
git commit -am "ci(version): :zap: updated versions every packages"
git push
- name: Commit Versioning & Push changes
uses: actions-js/push@master
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
message: 'ci(version): :zap: automatic - ${date} updated versions every packages'
branch: 'dev'

############ UNIT TEST ############
test-unit:
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
--------
🦊 Documentación: [https://bot-whatsapp.pages.dev/](https://bot-whatsapp.pages.dev/)
Video como hacer PR: https://youtu.be/Lxt8Acob6aU
- [ ] Evitar dependencias

🚀 __Roadmap:__ [https://github.com/users/leifermendez/projects/4/views/1](https://github.com/users/leifermendez/projects/4/views/1)


**Comunidad**
Expand Down
2 changes: 1 addition & 1 deletion packages/bot/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@bot-whatsapp/bot",
"version": "0.0.12-alpha.0",
"version": "0.0.13-alpha.0",
"description": "",
"main": "./lib/bundle.bot.cjs",
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion packages/cli/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@bot-whatsapp/cli",
"version": "0.0.19-alpha.0",
"version": "0.0.20-alpha.0",
"description": "",
"main": "index.js",
"devDependencies": {
Expand Down
Empty file modified packages/create-bot-whatsapp/bin/create.js
100644 → 100755
Empty file.
2 changes: 1 addition & 1 deletion packages/create-bot-whatsapp/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "create-bot-whatsapp",
"version": "0.0.25-alpha.0",
"version": "0.0.26-alpha.0",
"description": "",
"main": "./lib/bundle.create-bot-whatsapp.cjs",
"files": [
Expand Down
2 changes: 1 addition & 1 deletion packages/database/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@bot-whatsapp/database",
"version": "0.0.11-alpha.0",
"version": "0.0.12-alpha.0",
"description": "Esto es el conector a mysql, pg, mongo",
"main": "./lib/mock/index.cjs",
"keywords": [],
Expand Down
2 changes: 1 addition & 1 deletion packages/provider/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@bot-whatsapp/provider",
"version": "0.0.17-alpha.0",
"version": "0.0.18-alpha.0",
"description": "Esto es el conector a Twilio, Meta, etc...",
"main": "./lib/mock/index.cjs",
"keywords": [],
Expand Down

0 comments on commit cf1dc6f

Please sign in to comment.