mirror of
https://github.com/FranP-code/Baileys.git
synced 2025-10-13 00:32:22 +00:00
Further work
This commit is contained in:
25
.github/workflows/main.yml
vendored
25
.github/workflows/main.yml
vendored
@@ -2,6 +2,21 @@ name: CI
|
||||
|
||||
on: ["push"]
|
||||
jobs:
|
||||
|
||||
# Test:
|
||||
# runs-on: ubuntu-latest
|
||||
# steps:
|
||||
# - name: Checkout Commit
|
||||
# uses: actions/checkout@v2
|
||||
#
|
||||
# - name: Setup Node.js environment
|
||||
# uses: actions/setup-node@v2.1.1
|
||||
#
|
||||
# - name: Install Dependencies
|
||||
# run: npm install
|
||||
#
|
||||
# - name: Run Tests
|
||||
# run: npm run test
|
||||
Build:
|
||||
runs-on: ubuntu-latest
|
||||
# Steps represent a sequence of tasks that will be executed as part of the job
|
||||
@@ -34,6 +49,16 @@ jobs:
|
||||
lib/**/*
|
||||
package.json
|
||||
|
||||
|
||||
- name: Upload a Build Artifact
|
||||
uses: actions/upload-artifact@v2.1.4
|
||||
with:
|
||||
name: baileysBuilt
|
||||
path: |
|
||||
docs/**/*
|
||||
lib/**/*
|
||||
package.json
|
||||
|
||||
Publish-Docs:
|
||||
if: github.ref == 'refs/heads/master' && github.event_name == 'push'
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
@@ -17,11 +17,12 @@
|
||||
"automation"
|
||||
],
|
||||
"scripts": {
|
||||
"prepare": "npm run build",
|
||||
"test": "mocha --timeout 60000 -r ts-node/register src/Tests/Tests.*.ts",
|
||||
"lint": "eslint '*/*.ts' --quiet --fix",
|
||||
"build": "tsc",
|
||||
"build:tsc": "tsc",
|
||||
"build:docs": "typedoc",
|
||||
"build:all": "npm run build:tsc && npm run build:docs",
|
||||
"build": "",
|
||||
"example": "npx ts-node Example/example.ts",
|
||||
"browser-decode": "npx ts-node src/BrowserMessageDecoding.ts"
|
||||
},
|
||||
@@ -30,6 +31,9 @@
|
||||
"repository": {
|
||||
"url": "git@github.com:adiwajshing/baileys.git"
|
||||
},
|
||||
"files": [
|
||||
"./lib/**/*.js"
|
||||
],
|
||||
"dependencies": {
|
||||
"@adiwajshing/keyed-db": "^0.1.1",
|
||||
"curve25519-js": "0.0.4",
|
||||
|
||||
Reference in New Issue
Block a user