Skip to content

๐Ÿ“ Add changelog entry #3831

๐Ÿ“ Add changelog entry

๐Ÿ“ Add changelog entry #3831

Workflow file for this run

# SPDX-FileCopyrightText: Simon Schneegans <code@simonschneegans.de>
# 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@34e114876b0b11c390a56381ad16ebd13914f8d5 #v4
- uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 #v4.4.0
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@34e114876b0b11c390a56381ad16ebd13914f8d5 #v4
- uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 #v4.4.0
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@34e114876b0b11c390a56381ad16ebd13914f8d5 #v4
- uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 #v4.4.0
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@34e114876b0b11c390a56381ad16ebd13914f8d5 #v4
- uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 #v4.4.0
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@34e114876b0b11c390a56381ad16ebd13914f8d5 #v4
- name: REUSE Compliance Check
uses: fsfe/reuse-action@3ae3c6bdf1257ab19397fab11fd3312144692083 #v4