⬆️ Update ☕ NodeJS Package eslint to v9 #1872
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@11bd71901bbe5b1630ceea73d27597364c9af683 # v4 | |
- name: Review Dog - actionlint | |
uses: reviewdog/action-actionlint@7eeec1dd160c2301eb28e1568721837d084558ad # v1 | |
check: | |
name: Check | |
runs-on: ubuntu-latest | |
needs: skip | |
if: needs.skip.outputs.should-skip != 'true' | |
steps: | |
- name: Checkout | |
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4 | |
- name: Setup Node | |
uses: actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af # v4 | |
with: | |
cache-dependency-path: "**/package-lock.json" | |
cache: npm | |
- name: Install Tools | |
run: npm ci | |
- name: Check | |
run: npm run --silent check |