Update HISTORY #24
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: CI | |
on: | |
push: | |
branches: [ master ] | |
pull_request: | |
branches: [ master ] | |
workflow_dispatch: | |
jobs: | |
lint: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Install node modules | |
run: npm install | |
- name: Run ESLint | |
run: npm run lint | |
test: | |
needs: lint | |
strategy: | |
matrix: | |
node_versions: [18, 20, 22] | |
fail-fast: false | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-node@v2 | |
with: | |
node-version: ${{ matrix.node_versions }} | |
- name: Install mpd | |
run: sudo apt update && sudo apt install mpd | |
- name: Install node modules | |
run: npm install | |
- name: Run Tests | |
run: npm test | |
coverage: | |
needs: test | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Install mpd | |
run: sudo apt update && sudo apt install mpd | |
- name: Install node modules | |
run: npm install | |
- name: Run Tests with coverage | |
run: npm run test:coverage | |
- name: Upload coverage to Codecov | |
uses: codecov/codecov-action@v1 | |
with: | |
token: ${{ secrets.CODECOV_TOKEN }} |