https://github.com/hansputera/baileys-edge
An automation to compile baileys project, and upload it into npmjs
https://github.com/hansputera/baileys-edge
baileys whatsapp whatsapp-automation
Last synced: 2 months ago
JSON representation
An automation to compile baileys project, and upload it into npmjs
- Host: GitHub
- URL: https://github.com/hansputera/baileys-edge
- Owner: hansputera
- License: mit
- Created: 2023-03-11T09:59:03.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2024-09-22T13:03:45.000Z (9 months ago)
- Last Synced: 2025-04-13T02:29:49.342Z (2 months ago)
- Topics: baileys, whatsapp, whatsapp-automation
- Language: JavaScript
- Homepage: https://npmjs.com/package/@gampang-pkg/baileys-edge
- Size: 528 KB
- Stars: 4
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Baileys-edge
An automation to compile baileys project, and upload it into npmjs## Usage
To use this workflow/automation, you could use `hansputera/Baileys-edge@master` action in your workflow jobs.**Example:**
```yml
name: Baileys Edge Workflow
on:
schedule:
- cron: '0 0 * * *'
push:
branches:
- 'master'
workflow_dispatch:jobs:
build:
runs-on: ubuntu-latest
name: Update baileys
steps:
- name: Checkout repo
uses: actions/checkout@v3- name: Run baileys edge
uses: hansputera/Baileys-edge@master
with:
cloneDir: baileys
checkFile: baileys_check.json
env:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
```**Explanation:**
1. This workflow need `NPM_TOKEN` on secrets to push the package to NPM Registry
2. You can change the `cloneDir` to anything empty directory you want.
3. You can change the `checkFile`, this file includes latest commit date, baileys version, and the npm package version.