Fix selecting #767
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@v2 | |
with: | |
submodules: true | |
fetch-depth: 0 | |
- uses: actions/setup-node@v1 | |
with: | |
node-version: 16 | |
- name: Workaround for npm v7 bug. Reconfigure git to use HTTP authentication | |
run: > | |
git config --global url."https://github.com/".insteadOf | |
ssh://[email protected]/ | |
- run: npm ci | |
- uses: github/super-linter@v4 | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
LINTER_RULES_PATH: / # https://github.com/github/super-linter/issues/685#issuecomment-690939192 | |
VALIDATE_JAVASCRIPT_ES: true | |
JAVASCRIPT_ES_CONFIG_FILE: .eslintrc.yml | |
JAVASCRIPT_DEFAULT_STYLE: prettier | |
VALIDATE_CSS: true | |
CSS_FILE_NAME: .stylelintrc.yml | |
VALIDATE_EDITORCONFIG: true |