Skip to content

Bump braces from 3.0.2 to 3.0.3 #23

Bump braces from 3.0.2 to 3.0.3

Bump braces from 3.0.2 to 3.0.3 #23

Workflow file for this run

name: Test
on: [pull_request, workflow_call]
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
submodules: 'true'
- name: Use Node.js
uses: actions/setup-node@v4
with:
node-version: '18.x'
- name: Install and test
run: |
npm ci --loglevel error
npm run build
npm run test
- name: Start dbus
run: |
sudo service dbus start
export XDG_RUNTIME_DIR=/tmp/xdg_runtime
mkdir $XDG_RUNTIME_DIR
chmod 700 $XDG_RUNTIME_DIR
chown $(id -un):$(id -gn) $XDG_RUNTIME_DIR
export DBUS_SESSION_BUS_ADDRESS=unix:path=$XDG_RUNTIME_DIR/bus
echo "DBUS_SESSION_BUS_ADDRESS=$DBUS_SESSION_BUS_ADDRESS" >> "$GITHUB_ENV"
dbus-daemon --session --address=$DBUS_SESSION_BUS_ADDRESS --nofork --nopidfile --syslog-only &
- name: Run integration test
uses: coactions/setup-xvfb@6b00cf1889f4e1d5a48635647013c0508128ee1a
with:
run: npm run integration
env:
CI: true