Skip to content

Update dependencies #34

Update dependencies

Update dependencies #34

Workflow file for this run

---
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