Upd: update script from discussion #1276 #3018
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: lint | |
on: [push] | |
jobs: | |
lint: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: install linters | |
run: | | |
sudo apt-get update | |
sudo apt-get install -y npm clang-tidy | |
sudo ./build.sh installdeps | |
npm install eslint --save-dev | |
npm install stylelint --save-dev | |
npm install stylelint-config-standard --save-dev | |
npm install htmlhint --save-dev | |
npm install typescript --save-dev | |
npm install eslint-plugin-jsdoc --save-dev | |
- name: lint js css html | |
run: ./build.sh lint | |
- name: build debug and lint | |
run: | | |
./build.sh debug | |
./build.sh check |