Skip to content

JS-SDK

JS-SDK #2

Workflow file for this run

name: Merge CI
on:
push:
branches: [ main ]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [12.x, 14.x, 15.x]
steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- name: npm install, npm test
run: |
npm install
npm test
env:
API_KEY: ${{ secrets.API_KEY }}
API_SECRET: ${{ secrets.API_SECRET }}
APP_USERNAME: ${{ secrets.APP_USERNAME }}
PASSWORD: ${{ secrets.PASSWORD }}
- name: Coveralls (Uploading test report)
uses: coverallsapp/github-action@master
with:
github-token: ${{ secrets.GITHUB_TOKEN }}