Skip to content

Added CI to enforce linting and type checking. #8

Added CI to enforce linting and type checking.

Added CI to enforce linting and type checking. #8

Workflow file for this run

name: CI
on:
pull_request:
branches:
- master
jobs:
code_quality:
runs-on: ubuntu-latest
container:
image: fedora:latest
steps:
- name: Install Node.js and npm
run: |
sudo dnf install -y nodejs npm
- name: Install dnf-plugins-core
run: |
sudo dnf install -y 'dnf-command(copr)'
- name: Enable COPR for ags
run: |
sudo dnf copr enable solopasha/hyprland -y
- name: Install ags
run: |
sudo dnf install -y aylurs-gtk-shell which
- name: Initialize ags types
run: sudo ags --init
- name: Checkout repository
uses: actions/checkout@v3
- name: Install Node.js Dependencies
run: npm install
- name: Run ESLint
run: npm run lint
- name: Run Type Check - Extended Diagnostics
run: npx tsc --noEmit --pretty --extendedDiagnostics