diff options
author | Claire <claire.github-309c@sitedethib.com> | 2022-06-21 10:01:04 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-06-21 10:01:04 +0200 |
commit | 63f79874b59b3ba28c0f940b9d36ea7aacb44c93 (patch) | |
tree | 28656a86497b9dbd0c66b73091e22c9baee34910 /.github/workflows/linter.yml | |
parent | 7a75bce1b43df290baf6842e2bb3d3eb0acd76d5 (diff) | |
parent | 353e2c5d84fcfe253d58e0a0038deac0bfc867e3 (diff) |
Merge pull request #1800 from ClearlyClaire/glitch-soc/merge-upstream
Merge upstream changes
Diffstat (limited to '.github/workflows/linter.yml')
-rw-r--r-- | .github/workflows/linter.yml | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/.github/workflows/linter.yml b/.github/workflows/linter.yml index fd535ea9a..f77a9720e 100644 --- a/.github/workflows/linter.yml +++ b/.github/workflows/linter.yml @@ -50,8 +50,19 @@ jobs: # Full git history is needed to get a proper list of changed files within `super-linter` fetch-depth: 0 + - name: Set-up Node.js + uses: actions/setup-node@v3 + with: + node-version: 16.x + cache: yarn - name: Intall dependencies run: yarn install --frozen-lockfile + - name: Set-up RuboCop Problem Mathcher + uses: r7kamura/rubocop-problem-matchers-action@v1 + - name: Set-up Stylelint Problem Matcher + uses: xt0rted/stylelint-problem-matcher@v1 + # https://github.com/xt0rted/stylelint-problem-matcher/issues/360 + - run: echo "::add-matcher::.github/stylelint-matcher.json" ################################ # Run Linter against code base # @@ -61,6 +72,7 @@ jobs: env: CSS_FILE_NAME: stylelint.config.js DEFAULT_BRANCH: main + NO_COLOR: 1 # https://github.com/xt0rted/stylelint-problem-matcher/issues/360 GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} JAVASCRIPT_ES_CONFIG_FILE: .eslintrc.js LINTER_RULES_PATH: . |