Created
July 19, 2021 11:30
-
-
Save adriandmitroca/749a10a217478dfd58ab4d2f8c0ad469 to your computer and use it in GitHub Desktop.
GitLab CI Lint Check on Merge Requests
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
image: node:latest | |
cache: | |
paths: | |
- node_modules/ | |
stages: | |
- lint | |
lint: | |
stage: lint | |
only: | |
- merge_requests | |
script: | |
- yarn | |
- yarn lint |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment