Skip to content

actually check files? #24

actually check files?

actually check files? #24

Workflow file for this run

name: CI
on: [push, pull_request]
jobs:
linux:
name: Static linting
runs-on: ubuntu-latest
steps:
- name: Install prerequisites
run: sudo apt-get update && sudo apt-get install clang-tidy cppcheck jq libxml2-utils
- name: Checkout
uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Lint
run: .ci/script.sh
# NPM tests
- name: Uses Node.js
uses: actions/setup-node@v4
with:
node-version: 'latest'
# No cache, there are complaints about lockfiles that we don't want otherwise. See <https://github.com/actions/setup-node/issues/928>.
# cache: 'npm'
- run: npm install stylelint stylelint-config-standard
- name: Check CSS syntax
run: npm run --silent stylelint '**/*.css'