Skip to content

2.2.3

2.2.3 #102

# This workflow will do a clean install of node dependencies, build the source code and run tests across different versions of node
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions
name: Test
on:
push:
branches: [master]
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@master
with:
node-version: 16.x
- name: Use npm 9
run: npm i -g npm@9
- name: Install Dependencies
run: npm ci
- name: Check Prettier Formatting
run: npm run test:format
- name: Run ESLint
run: npm run lint
- name: Build
run: npm run build
- name: Run Tests
run: npm run test
env:
CI: true
LRS_CREDENTIALS_ARRAY: ${{ secrets.LRS_CREDENTIALS_ARRAY }}
- name: Coveralls
uses: coverallsapp/github-action@master
with:
github-token: ${{ secrets.GITHUB_TOKEN }}