Bump express from 4.18.2 to 4.19.2 in /documentation #505
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: Lint | |
on: | |
# Trigger the workflow on push or pull request, | |
# but only for the main branch | |
push: | |
branches: | |
- master | |
# Replace pull_request with pull_request_target if you | |
# plan to use this action with forks, see the Limitations section | |
pull_request: | |
jobs: | |
javascript: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out Git repository | |
uses: actions/checkout@v3 | |
- name: Set up Node.js | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 16 | |
- name: Install Node.js dependencies Management UI | |
run: npm install | |
- name: ESLint Management UI | |
run: npx --no-install eslint src/ --cache --fix | |
- name: Install Node.js dependencies Configuration API | |
run: npm install | |
working-directory: configuration-api | |
- name: ESLint Configuration API | |
run: npx --no-install eslint main/ --cache --fix | |
working-directory: configuration-api | |
- name: Install Node.js dependencies Documentation | |
run: npm install | |
working-directory: documentation | |
- name: ESLint Documentation | |
run: npx --no-install eslint . --ext .js,.jsx --cache --fix | |
working-directory: documentation | |
markdown: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
ref: ${{github.event.pull_request.head.ref}} | |
repository: ${{github.event.pull_request.head.repo.full_name}} | |
- name: Lint | |
uses: docker://avtodev/markdown-lint:v1 # fastest way | |
with: | |
config: '.github/lint/config.json' | |
args: '**/*.md' |