mirror of
https://github.com/NoRedInk/noredink-ui.git
synced 2024-11-04 07:02:12 +03:00
add ratchet to CI
This commit is contained in:
parent
b3e1a628c4
commit
9b9e1ea785
3
.gitignore
vendored
3
.gitignore
vendored
@ -239,4 +239,5 @@ documentation.json
|
||||
.envrc
|
||||
|
||||
/public
|
||||
/tests/axe-report.json
|
||||
/tests/axe-report.json
|
||||
/tests/deprecated-imports-report.txt
|
||||
|
9
Makefile
9
Makefile
@ -6,6 +6,7 @@ test: node_modules
|
||||
npx elm-verify-examples --run-tests
|
||||
make axe-report
|
||||
make percy-tests
|
||||
make deprecated-imports-report
|
||||
|
||||
tests/axe-report.json: public script/run-axe.sh script/axe-puppeteer.js
|
||||
script/run-axe.sh > $@
|
||||
@ -18,6 +19,14 @@ axe-report: tests/axe-report.json script/format-axe-report.sh script/axe-report.
|
||||
percy-tests:
|
||||
script/percy-tests.sh
|
||||
|
||||
tests/deprecated-imports-report.txt: $(shell find src -type f) script/deprecated-imports.py
|
||||
script/deprecated-imports.py report > $@
|
||||
|
||||
.PHONY: deprecated-imports-report
|
||||
deprecated-imports-report: tests/deprecated-imports-report.txt script/deprecated-imports.py
|
||||
@cat tests/deprecated-imports-report.txt
|
||||
@script/deprecated-imports.py check
|
||||
|
||||
.PHONY: checks
|
||||
checks:
|
||||
script/check-exposed.py
|
||||
|
Loading…
Reference in New Issue
Block a user