From 213400c7ad9ab8d54ed4c0ee81487f2fbeca24f2 Mon Sep 17 00:00:00 2001 From: David Sanders Date: Wed, 15 May 2024 01:31:44 -0700 Subject: [PATCH] ci: fix lint workflow (#573) * ci: fix lint workflow * ci: try alt way of accessing inputs --- .github/workflows/lint.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index a0dc3275c..dceed4da6 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -28,12 +28,12 @@ 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 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 }} + run: npx lint-roller-markdown-links --ignore-path .markdownlintignore --fetch-external-links "**/*.md" + if: ${{ inputs.fetch-external-links }}