[Snyk] Security upgrade markdownlint from 0.24.0 to 0.32.0 #15
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: Quality | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
workflow_dispatch: | |
permissions: | |
actions: none | |
checks: none | |
contents: read | |
deployments: none | |
issues: none | |
packages: none | |
pull-requests: none | |
repository-projects: none | |
security-events: none | |
statuses: none | |
jobs: | |
lint: | |
name: Lint | |
runs-on: ubuntu-20.04 | |
steps: | |
- name: Cancel Previous Runs | |
if: github.ref != 'refs/heads/master' | |
uses: styfle/cancel-workflow-action@0.9.1 | |
- name: Checkout | |
uses: actions/checkout@v2 | |
with: | |
fetch-depth: 0 | |
- name: Cache Node Modules | |
uses: actions/cache@v2 | |
with: | |
path: "/node_modules" | |
key: node-${{ hashFiles('yarn.lock') }} | |
- name: Install Node.js | |
uses: actions/setup-node@v2 | |
with: | |
node-version: 12.x | |
- name: Install Node Modules | |
run: yarn install | |
- name: Lint | |
run: yarn lint | |
- name: Formatting | |
if: always() | |
run: yarn format:check | |
- name: Find old files | |
uses: w3f/action-find-old-files@1.0.1 | |
id: old_files | |
with: | |
minAge: 60 | |
dirs: '["."]' | |
- name: Save file | |
uses: actions/upload-artifact@v2 | |
with: | |
name: old-docs | |
path: ${{ steps.old_files.outputs.files }} |