EMS/.forgejo/workflows/qs.yml
Dominik Säume a333400673
All checks were successful
Quality Check / Linting (push) Successful in 22s
Initalize Project
2024-12-18 10:50:56 +01:00

28 lines
695 B
YAML

name: "Quality Check"
on:
- push
- pull_request
jobs:
linting:
name: "Linting"
runs-on: "ubuntu-latest"
container:
image: "git.euph.dev/actions/runner-basic:latest"
steps:
- name: "Checkout"
uses: "https://git.euph.dev/actions/checkout@v3"
- uses: actions/cache@v3
with:
path: ~/.node_modules
key: ${{ runner.os }}-${{ hashFiles('package-lock.json', 'eslint.config.mjs', '.stylelintrc', '.stylelintignore') }}
restore-keys: ${{ runner.os }}-
- name: "NPM install"
run: npm i
- name: "Linting TS"
run: npm run lint:ts
- name: "Linting SCSS"
run: npm run lint:scss