Skip to content

feat: add support for v2 callable functions #293

feat: add support for v2 callable functions

feat: add support for v2 callable functions #293

Workflow file for this run

name: CI Tests
on:
pull_request:
push:
branches:
- master
env:
CI: true
jobs:
unit:
runs-on: ubuntu-latest
strategy:
matrix:
node-version:
- 14.x
- 16.x
steps:
- uses: actions/checkout@v1
- uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- name: Cache npm
uses: actions/cache@v1
with:
path: ~/.npm
key: ${{ runner.os }}-node-${{ matrix.node-version }}-${{ hashFiles('**/package-lock.json') }}
- run: npm ci
- run: npm run lint
- run: npm run format
- run: npm run test
integration:
runs-on: ubuntu-latest
strategy:
matrix:
node-version:
- 14.x
- 16.x
steps:
- uses: actions/checkout@v1
- uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- name: Cache npm
uses: actions/cache@v1
with:
path: ~/.npm
key: ${{ runner.os }}-node-${{ matrix.node-version }}-${{ hashFiles('**/package-lock.json') }}
- run: npm install
- run: npm run integrationTest