💚 Install pulseaudio #412
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: Node CI | |
on: | |
- push | |
- pull_request | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node-version: [15.x, 16.x, 17.x] | |
steps: | |
- uses: actions/checkout@v1 | |
- name: Install pulseaudio | |
run: | | |
sudo apt-get update | |
sudo apt-get install -y pulseaudio | |
- name: Start pulseaudio | |
run: | | |
pulseaudio --start | |
- name: List PulseAudio sinks | |
run: pactl list sinks | |
- name: Use Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v1 | |
with: | |
node-version: ${{ matrix.node-version }} | |
- name: Update npm | |
run: | | |
npm i -g npm@^7.x | |
- name: npm install, lint, build, and test | |
run: | | |
npm ci | |
node node_modules/puppeteer/install.js | |
npm run lint | |
npm run build | |
xvfb-run --auto-servernum npm test | |
env: | |
CI: true |