⬆️ Update ☕ NodeJS Package eslint to v9 #1142
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: Validate | |
on: | |
pull_request: | |
types: [synchronize, opened, edited] | |
push: | |
branches: [main] | |
jobs: | |
skip: | |
name: Skip Duplicate Actions | |
uses: ./.github/workflows/actions.skip.yml | |
actions: | |
name: Lint GitHub Actions Workflows | |
uses: ./.github/workflows/actions.lint.yml | |
needs: skip | |
if: needs.skip.outputs.should-skip != 'true' | |
spellcheck: | |
name: Lint Spelling | |
uses: ./.github/workflows/spellcheck.yml | |
needs: skip | |
if: needs.skip.outputs.should-skip != 'true' | |
eslint: | |
name: Lint NodeJS | |
uses: ./.github/workflows/nodejs.lint.yml | |
needs: skip | |
if: needs.skip.outputs.should-skip != 'true' | |
renovate: | |
name: Renovate Configuration Validator | |
runs-on: ubuntu-latest | |
needs: skip | |
if: needs.skip.outputs.should-skip != 'true' | |
steps: | |
- name: Checkout | |
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4 | |
- name: Setup Node | |
uses: actions/setup-node@0a44ba7841725637a19e28fa30b79a866c81b0a6 # v4 | |
with: | |
cache-dependency-path: '**/package-lock.json' | |
cache: npm | |
- name: Install Dependencies | |
run: npm ci | |
- name: Execute Validator | |
run: | | |
shopt -s globstar extglob | |
npx renovate-config-validator !(package*).json |