name: Static Code Analysis
on:
merge_group:
workflow_call:
jobs:
check:
name: Static Code Analysis
permissions:
contents: read
runs-on: 'ubuntu-latest'
steps:
- name: ⬇️ Checkout Code
uses: actions/checkout@08eba0b27e820071cde6df949e0beb9ba4906955
- name: 🧑🔧 Get Core Dependencies
uses: ./.github/workflows/actions/get-core-dependencies
- name: Dependency Check
run: pnpm run test:depcheck
shell: bash
- name: Eslint
run: pnpm run test:eslint
shell: bash
- name: EJS Lint
run: pnpm run test:ejslint
shell: bash