Skip to content

fix: correct article usage in configuration path descriptions #39

fix: correct article usage in configuration path descriptions

fix: correct article usage in configuration path descriptions #39

name: Integration tests
on:
push:
branches:
- main
pull_request:
branches:
- main
workflow_dispatch:
jobs:
windows:
# Disabled due to instability issues
if: false
name: Windows
runs-on: windows-2022
timeout-minutes: 30
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- uses: actions/setup-node@cdca7365b2dadb8aad0a33bc7601856ffabcc48e # v4.3.0
with:
node-version-file: .tool-versions
- name: Get npm cache directory
id: npm-cache
run: |
echo "::set-output name=dir::$(npm config get cache)"
- uses: actions/cache@5a3ec84eff668545956fd18022155c47e93e2684 # v4.2.3
with:
path: ${{ steps.npm-cache.outputs.dir }}
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-node-
- run: npm ci
- run: npm run tsc
- run: npm run build
- run: npm test
linux:
name: Linux
runs-on: ubuntu-24.04
timeout-minutes: 30
env:
DISPLAY: ":99"
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- run: |
sudo apt-get update
sudo apt-get install -y libxkbfile-dev pkg-config libsecret-1-dev libxss1 dbus dbus-x11 xvfb libgtk-3-0 libgbm1 libasound2t64 libcairo2
# DBus settings
dbus-launch --auto-syntax > /tmp/dbus.env
cat /tmp/dbus.env
# Xvfb settings
sudo Xvfb :99 -screen 0 1024x768x24 -ac +extension GLX +render -noreset > /dev/null 2>&1 &
- uses: actions/setup-node@cdca7365b2dadb8aad0a33bc7601856ffabcc48e # v4.3.0
with:
node-version-file: .tool-versions
- uses: actions/cache@5a3ec84eff668545956fd18022155c47e93e2684 # v4.2.3
with:
path: ~/.npm
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-node-
- run: npm ci
- run: npm run tsc
- run: npm run build
- name: Run tests
run: |
source /tmp/dbus.env
npm test
darwin:
# Disabled due to instability issues
if: false
name: macOS
runs-on: macos-14
timeout-minutes: 30
env:
DISPLAY: ":99"
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- run: |
brew install --cask xquartz
- run: |
/usr/X11/bin/Xvfb :99 -screen 0 1024x768x24 &
sleep 5
- uses: actions/setup-node@cdca7365b2dadb8aad0a33bc7601856ffabcc48e # v4.3.0
with:
node-version-file: .tool-versions
- uses: actions/cache@5a3ec84eff668545956fd18022155c47e93e2684 # v4.2.3
with:
path: ~/.npm
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-node-
- run: npm ci
- run: npm run tsc
- run: npm run build
- run: npm test