Added CI to enforce linting and type checking. #5
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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: | | |
dnf install -y nodejs npm aylurs-gtk-shell | |
sudo dnf install -y aylurs-gtk-shell | |
- name: Initialize AGS | |
run: sudo ags --init | |
- name: Checkout repository | |
uses: actions/checkout@v3 | |
- name: Install dependencies | |
run: npm install | |
- name: ESLint | |
run: npm run lint | |
- name: Type Check - Extended Diagnostics | |
run: npx tsc --noEmit --pretty --extendedDiagnostics |