Skip to content

πŸ› Fix poll error on Niri in tablet mode #3416

πŸ› Fix poll error on Niri in tablet mode

πŸ› Fix poll error on Niri in tablet mode #3416

Workflow file for this run

# SPDX-FileCopyrightText: Simon Schneegans <[email protected]>
# SPDX-License-Identifier: CC0-1.0
name: Checks
on:
pull_request:
push:
branches:
- '**'
permissions:
contents: read
jobs:
test:
name: Tests
runs-on: ubuntu-latest
# Do only run on pushes to the main repository or on pull requests from forks. This avoids running the tests twice on pull requests from the main repository.
if: (github.event_name == 'push' && ! github.event.pull_request.head.repo.fork) || (github.event_name == 'pull_request' && github.event.pull_request.head.repo.fork)
steps:
- uses: actions/checkout@v4
- uses: actions/[email protected]
with:
node-version-file: .node-version
- name: Install Dependencies
run: |
sudo apt install libx11-dev libxtst-dev libwayland-dev libxkbcommon-dev
npm ci
- name: Run Tests
run: npm run test
eslint:
name: ESLint
runs-on: ubuntu-latest
# Do only run on pushes to the main repository or on pull requests from forks. This avoids running the tests twice on pull requests from the main repository.
if: (github.event_name == 'push' && ! github.event.pull_request.head.repo.fork) || (github.event_name == 'pull_request' && github.event.pull_request.head.repo.fork)
steps:
- uses: actions/checkout@v4
- uses: actions/[email protected]
with:
node-version-file: .node-version
- name: Install Dependencies
run: |
sudo apt install libx11-dev libxtst-dev libwayland-dev libxkbcommon-dev
npm ci
- name: Run ESLint
run: npm run lint
prettier:
name: Prettier
runs-on: ubuntu-latest
# Do only run on pushes to the main repository or on pull requests from forks. This avoids running the tests twice on pull requests from the main repository.
if: (github.event_name == 'push' && ! github.event.pull_request.head.repo.fork) || (github.event_name == 'pull_request' && github.event.pull_request.head.repo.fork)
steps:
- uses: actions/checkout@v4
- uses: actions/[email protected]
with:
node-version-file: .node-version
- name: Install Dependencies
run: |
sudo apt install libx11-dev libxtst-dev libwayland-dev libxkbcommon-dev
npm ci
- name: Run Prettier
run: npm run prettier
tscheck:
name: TypeScript Check
runs-on: ubuntu-latest
# Do only run on pushes to the main repository or on pull requests from forks. This avoids running the tests twice on pull requests from the main repository.
if: (github.event_name == 'push' && ! github.event.pull_request.head.repo.fork) || (github.event_name == 'pull_request' && github.event.pull_request.head.repo.fork)
steps:
- uses: actions/checkout@v4
- uses: actions/[email protected]
with:
node-version-file: .node-version
- name: Install Dependencies
run: |
sudo apt install libx11-dev libxtst-dev libwayland-dev libxkbcommon-dev
npm ci
- name: Run TypeScript Check
run: npm run tscheck
reuse:
name: REUSE
runs-on: ubuntu-latest
# Do only run on pushes to the main repository or on pull requests from forks. This avoids running the tests twice on pull requests from the main repository.
if: (github.event_name == 'push' && ! github.event.pull_request.head.repo.fork) || (github.event_name == 'pull_request' && github.event.pull_request.head.repo.fork)
steps:
- uses: actions/checkout@v4
- name: REUSE Compliance Check
uses: fsfe/reuse-action@v4