3.4.6: Fix for pressed button determination of MK1 #54
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
name: Lint and Test Code | |
on: | |
push: | |
pull_request: | |
types: | |
- edited | |
- opened | |
- synchronize | |
- reopened | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2.3.4 | |
- name: Install ubuntu dependencies | |
run: sudo apt-get update && sudo apt-get install libasound2-dev | |
- uses: actions/setup-node@v2 | |
name: Setup nodejs | |
with: | |
node-version: '14' | |
- name: install dependencies | |
run: npm ci | |
- name: Run eslint | |
run: npm run lint | |
- name: Run tests | |
run: npm run test |