chore: change CI removing node 16 and adding 22 #180
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: Coverage | |
on: | |
push: | |
branches: [dev] | |
pull_request: | |
branches: | |
- "*" | |
jobs: | |
coverage: | |
runs-on: ubuntu-latest | |
container: | |
image: node:lts | |
env: | |
CI: true | |
steps: | |
- uses: actions/checkout@v1 | |
- name: Prepare | |
run: | | |
apt-get update | |
apt-get install -y cmake libflac-dev flac lcov | |
- name: Install | |
run: npm ci | |
- name: Build & Test | |
run: ./scripts/coverage.sh rebuild | |
- name: Coveralls | |
uses: coverallsapp/github-action@master | |
with: | |
github-token: ${{ secrets.GITHUB_TOKEN }} | |
path-to-lcov: ./coverage/combined.info |