2.2.4 #103
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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 }} |