Fix missing newline at end of package.json #11
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: "Test Extension" | |
on: [push, pull_request] | |
jobs: | |
build: | |
strategy: | |
matrix: | |
os: [ubuntu-latest, windows-latest, macOS-latest] | |
runs-on: ${{ matrix.os }} | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Install Node.js | |
uses: actions/setup-node@v2 | |
with: | |
node-version: '18.17.1' | |
- run: npm install | |
- name: Install APT libraries | |
if: runner.os == 'Linux' | |
run: | | |
sudo apt-get update | |
sudo apt-get install -y build-essential xvfb clang libdbus-1-dev libgtk-3-dev \ | |
libnotify-dev libasound2-dev libcap-dev \ | |
libcups2-dev libxtst-dev \ | |
libxss1 libnss3-dev gcc-multilib g++-multilib curl \ | |
gperf bison python3-dbusmock openjdk-8-jre | |
- run: xvfb-run -a npm test | |
if: runner.os == 'Linux' | |
- run: npm test | |
if: runner.os != 'Linux' | |