Skip to content

Commit

Permalink
ci: fix lint workflow (electron-forge#177)
Browse files Browse the repository at this point in the history
  • Loading branch information
dsanders11 authored May 15, 2024
1 parent 4eae4a5 commit 9012b8f
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,14 +27,14 @@ jobs:
- name: Create a Temporary package.json
run: npm init --yes
- name: Install @electron/lint-roller
run: npm install --save-dev @electron/lint-roller
run: npm install --save-dev @electron/lint-roller@^2.1.0
- name: Run markdownlint
run: npx electron-markdownlint "**/*.md"
- name: Lint JS in Markdown with standard
run: npx electron-lint-markdown-standard --ignore-path .markdownlintignore --semi "**/*.md"
run: npx lint-roller-markdown-standard --ignore-path .markdownlintignore --semi "**/*.md"
- name: Lint links
run: npx electron-lint-markdown-links --ignore-path .markdownlintignore "**/*.md"
run: npx lint-roller-markdown-links --ignore-path .markdownlintignore "**/*.md"
if: ${{ always() }}
- name: Check external links
run: npx electron-lint-markdown-links --ignore-path .markdownlintignore --fetch-external-links "**/*.md"
if: ${{ github.event.inputs.fetch-external-links }}
if: ${{ inputs.fetch-external-links }}

0 comments on commit 9012b8f

Please sign in to comment.