Skip to content

[release] 5.29.0 - add ID type to client initialize response and memo… #1628

[release] 5.29.0 - add ID type to client initialize response and memo…

[release] 5.29.0 - add ID type to client initialize response and memo… #1628

Workflow file for this run

name: tests
on:
workflow_dispatch:
pull_request:
branches: [main]
push:
branches: [main]
jobs:
jest:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
- name: cache .npm
uses: actions/cache@v2
env:
cache-name: npm
with:
path: ~/.npm
key: ${{ runner.os }}-${{ env.cache-name }}-${{ hashFiles('**/package-lock.json') }}
- run: npm ci
- run: npm run test
env:
test_api_key: ${{ secrets.SDK_CONSISTENCY_TEST_COMPANY_API_KEY }}
eslint:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
with:
ref: ${{ github.head_ref }}
- name: cache .npm
uses: actions/cache@v2
env:
cache-name: npm
with:
path: ~/.npm
key: ${{ runner.os }}-${{ env.cache-name }}-${{ hashFiles('**/package-lock.json') }}
- run: npm install
- name: Lint
run: npm run lint:github