Update dependencies #35
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
--- | |
name: tests | |
on: | |
pull_request: | |
jobs: | |
tests: | |
timeout-minutes: 30 | |
runs-on: ubuntu-latest | |
steps: | |
- name: System dependencies | |
if: runner.os == 'Linux' | |
run: | | |
sudo apt update | |
sudo apt-get update | |
sudo apt-get -y install libasound2-dev | |
- uses: actions/checkout@v2 | |
with: | |
fetch-depth: 2 | |
# See https://github.com/lerna/lerna/issues/2542 | |
# pulls all commits (needed for lerna / semantic release to correctly version) | |
# fetch-depth: "0" | |
# pulls all tags (needed for lerna / semantic release to correctly version) | |
# - run: git fetch --depth=1 origin +refs/tags/*:refs/tags/* | |
- uses: actions/setup-node@v2 | |
with: | |
node-version: '20' | |
- name: Prerequisites | |
run: npm install | |
- name: Compile | |
run: npm run compile | |
- name: Test | |
run: npm run test | |
- name: Upload Code Coverage | |
uses: codecov/codecov-action@v2 | |
- name: Lint | |
run: npm run lint | |
- name: Integration Tests | |
# if: github.ref == 'refs/heads/main' | |
run: npm run test:integration |