-
Notifications
You must be signed in to change notification settings - Fork 101
45 lines (33 loc) · 1.08 KB
/
ci.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
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