Skip to content

Add Messages, Drafts, and Smart Compose APIs support #442

Add Messages, Drafts, and Smart Compose APIs support

Add Messages, Drafts, and Smart Compose APIs support #442

Workflow file for this run

name: Pull Request
on:
# Trigger the workflow on push or pull request,
# but only for the main branch
push:
branches:
- main
pull_request:
branches:
- main
- v7.0.0-beta
jobs:
checks:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [ 16.x, 18.x, 20.x ]
name: Nodejs ${{ matrix.node-version }}
steps:
- uses: actions/checkout@v2
- name: Setup Nodejs ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- name: Install dependencies and build
run: npm install
- name: Run lint checks
run: npm run lint:ci
- name: Run prettier checks
run: npm run lint:prettier:check
- name: Run tests
run: npm run test:coverage
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v3