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
|
||||
|
||||
Reference in New Issue
Block a user