diff options
author | Sarah German <sgerman@gitlab.com> | 2022-05-25 19:21:05 +0300 |
---|---|---|
committer | Sarah German <sgerman@gitlab.com> | 2022-05-25 19:21:05 +0300 |
commit | af0f299a39f583eaea3445fa4e0ccd43880b3187 (patch) | |
tree | ec6e2f890a6ca7a17085b730984240815f2a3b42 /.gitlab-ci.yml | |
parent | 455b120556c12de740c44b84c14a18911427689c (diff) | |
parent | 1fe7254ff46dab7e6bd02891a0a174f46e4955b0 (diff) |
Merge branch 'eread/support-local-stylelint-runs' into 'main'
Support local Stylelint runs
See merge request gitlab-org/gitlab-docs!2709
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r-- | .gitlab-ci.yml | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index f77d87a0..9a24ee9e 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -337,10 +337,7 @@ stylelint: needs: [] stage: test script: - # Remove the first three lines so the frontmatter doesn't - # cause stylelint to throw errors. - - sed -i -E '1,3d' content/assets/stylesheets/*.scss - - yarn run stylelint content/assets/stylesheets/*.scss + - scripts/run-stylelint.sh # # Yamllint of *.yml for .gitlab-ci.yml. |