Skip to content

Revert "Bump rollup from 2.79.1 to 3.28.0" #149

Revert "Bump rollup from 2.79.1 to 3.28.0"

Revert "Bump rollup from 2.79.1 to 3.28.0" #149

Workflow file for this run

name: build library
on:
push:
branches:
- master
pull_request:
branches: [ master ]
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
repository_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
# Cloning repo
-
name: Checkout repo
id: checkout-repo
uses: actions/checkout@v2
with:
repository: green-api/whatsapp-api-client
path: whatsapp-api-client
fetch-depth: 100
# Installing nodejs
-
name: Use Node.js 12.21.0
uses: actions/setup-node@v2
with:
node-version: "12.21.0"
# Installing dependencies
-
name: Install dependencies
run: |
cd whatsapp-api-client
npm install
npm install -g rollup
# Building nodejs and browser libraries
-
name: Building the libraries
run: |
cd whatsapp-api-client
npm run build