Improve DND monitoring #1216
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: Node.js CI | |
on: [push, pull_request] | |
jobs: | |
build: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [ubuntu-latest, macos-latest, windows-latest] | |
fail-fast: false | |
steps: | |
- name: run on linux | |
if: matrix.os == 'ubuntu-latest' | |
run: sudo systemctl start dbus && sudo systemctl status dbus | |
- name: Set Timezone | |
uses: szenius/[email protected] | |
with: | |
timezoneLinux: Europe/Amsterdam | |
timezoneMacos: Europe/Amsterdam | |
timezoneWindows: W. Europe Standard Time | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-python@v4 | |
with: | |
python-version: '3.11' | |
- name: Use Node.js | |
uses: actions/setup-node@v3 | |
with: | |
node-version: '18.17.1' | |
- run: npm install npm@9 -g | |
- run: npm install | |
- run: npx nyc --reporter=lcov npm test | |
env: | |
CI: true | |
DISPLAY: ':0' | |
- name: Codecov | |
uses: codecov/codecov-action@v3 |