Skip to content

[Feat] - Add Contributors Page, Updated Docusaurus, Fix Linters #281

[Feat] - Add Contributors Page, Updated Docusaurus, Fix Linters

[Feat] - Add Contributors Page, Updated Docusaurus, Fix Linters #281

Workflow file for this run

name: Lint
on:
workflow_dispatch:
push:
branches:
- main
pull_request:
branches:
- main
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
permissions:
contents: read
jobs:
lint:
name: Lint
timeout-minutes: 30
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Set up Node
uses: actions/setup-node@v3
with:
node-version: 16.14.0
cache: npm
- name: Installation
run: npm install
- name: Lint
run: npm run lint:ci
lint-md:
name: Markdown Lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- uses: tj-actions/changed-files@v37
id: changed-files
with:
files: '**/*.md'
separator: ","
- uses: DavidAnson/markdownlint-cli2-action@v11
if: steps.changed-files.outputs.any_changed == 'true'
with:
globs: ${{ steps.changed-files.outputs.all_changed_files }}
separator: ","
config: '.github/linters/.markdown-lint.yml'