mirror of
https://github.com/cheveguerra/bot-whatsapp.git
synced 2026-04-20 04:29:16 +00:00
fix(ci): ⚡ github action
fix(ci): ⚡ github action
This commit is contained in:
4
.github/workflows/ci.yml
vendored
4
.github/workflows/ci.yml
vendored
@@ -4,6 +4,7 @@ on:
|
|||||||
pull_request:
|
pull_request:
|
||||||
branches:
|
branches:
|
||||||
- dev
|
- dev
|
||||||
|
- next-release
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
############ BUILD PACKAGE ############
|
############ BUILD PACKAGE ############
|
||||||
@@ -38,6 +39,7 @@ jobs:
|
|||||||
release:
|
release:
|
||||||
name: Release
|
name: Release
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
if: github.head_ref == 'next-release'
|
||||||
needs:
|
needs:
|
||||||
- build-package
|
- build-package
|
||||||
steps:
|
steps:
|
||||||
@@ -81,7 +83,7 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
github_token: ${{ secrets.GITHUB_TOKEN }}
|
github_token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
message: 'ci(version): :zap: automatic - ${date} updated versions every packages'
|
message: 'ci(version): :zap: automatic - ${date} updated versions every packages'
|
||||||
branch: 'dev'
|
branch: 'next-release'
|
||||||
|
|
||||||
############ UNIT TEST ############
|
############ UNIT TEST ############
|
||||||
test-unit:
|
test-unit:
|
||||||
|
|||||||
Reference in New Issue
Block a user