fix env variable instructions are specific to Vite #2321
This file contains hidden or 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: | |
pull_request: | |
permissions: | |
contents: read | |
jobs: | |
build: | |
name: Lint | |
runs-on: ubuntu-latest | |
permissions: | |
contents: read | |
packages: read | |
statuses: write | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: Lint | |
uses: super-linter/super-linter/slim@v7 | |
env: | |
VALIDATE_EDITORCONFIG: false | |
VALIDATE_JSCPD: false | |
VALIDATE_MARKDOWN_PRETTIER: false | |
DEFAULT_BRANCH: "origin/4.1" | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
- uses: actions/cache@v4 | |
with: | |
path: ~/.cache/pip | |
key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements.txt') }} | |
restore-keys: | | |
${{ runner.os }}-pip- | |
- name: Install Proselint | |
run: pip install --quiet --user proselint | |
- name: Run Proselint | |
run: find . -name '*.md' -exec proselint {} \; |