Skip to content

Merge pull request #264 from ringcentral/RCLABS-854 #23

Merge pull request #264 from ringcentral/RCLABS-854

Merge pull request #264 from ringcentral/RCLABS-854 #23

Workflow file for this run

name: Test Code
on: [push, pull_request]
jobs:
Test:
runs-on: ubuntu-latest # Firefox in it
strategy:
matrix:
node-version: [16.x]
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
registry-url: 'https://registry.npmjs.org'
- run: npm install
- run: DEBUG=eslint:cli-engine npm run lint:all
- run: npm run build
- run: npm run test:browser
- run: npm run test:coverage
- run: cat */coverage/lcov.info
- name: Coveralls SDK
uses: coverallsapp/github-action@v2
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
base-path: ./sdk
flag-name: sdk
parallel: true
- name: Coveralls
uses: coverallsapp/github-action@v2
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
parallel-finished: true