⬆️ Update ☕ NodeJS Package eslint to v9 #1794
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: | |
push: | |
branches: [main] | |
pull_request: | |
types: [synchronize, opened, edited] | |
jobs: | |
skip: | |
name: Skip Duplicate Actions | |
runs-on: ubuntu-latest | |
outputs: | |
should-skip: ${{steps.skip.outputs.should_skip}} | |
steps: | |
- name: Skip Duplicate Actions | |
uses: fkirc/skip-duplicate-actions@f75f66ce1886f00957d99748a42c724f4330bdcf # v5 | |
id: skip | |
actions: | |
name: Lint Action Workflows | |
runs-on: ubuntu-latest | |
needs: skip | |
if: needs.skip.outputs.should-skip != 'true' | |
steps: | |
- name: Checkout | |
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4 | |
- name: Review Dog - actionlint | |
uses: reviewdog/action-actionlint@15a7a477ab5ab768a41c39b2c53970bf151c73f3 # v1 | |
check: | |
name: Check | |
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 Tools | |
run: npm ci | |
- name: Check | |
run: npm run --silent check |