Merge pull request #185 from WideChat/whatsapp_template #436
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build and Publish | |
# Triggers the workflow on push or pull request events | |
on: [push, pull_request] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Setup Node.js environment | |
uses: actions/setup-node@v2.1.2 | |
with: | |
node-version: '12' | |
- name: Install dependencies | |
run: npm i | |
- name: Install Rocket.Chat Apps cli | |
run: npm i -g WideChat/Rocket.Chat.Apps-cli | |
- name: ESLint check | |
run: npm run lint | |
- name: Typescript check | |
run: npm run typecheck | |
- name: Bundle App | |
run: rc-apps package |