chore(deps): update dependency eslint to v9 #93
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: "Validation" | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
env: | |
node-version: 18.x | |
jobs: | |
eslint: | |
runs-on: ubuntu-latest | |
name: 'ESLint' | |
steps: | |
- name: Checkout Code | |
uses: actions/checkout@v4 | |
- name: Use Node.js ${{ env.node-version }} | |
uses: actions/setup-node@v4 | |
with: | |
node-version: ${{ env.node-version }} | |
cache: "npm" | |
- name: Install Dependencies | |
run: npm clean-install | |
- name: Validate JS Sources | |
run: npm run validate:js | |
markdownlint: | |
runs-on: ubuntu-latest | |
name: 'MarkdownLint' | |
steps: | |
- name: Checkout Code | |
uses: actions/checkout@v4 | |
- name: Validate Markdown Sources | |
uses: nosborn/[email protected] | |
with: | |
files: . | |
package-lock-is-up-to-date: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: ${{ env.node-version }} | |
cache: "npm" | |
- run: npm install --ignore-scripts | |
- run: git diff --exit-code |