Update Packages #282
This file contains hidden or 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
| # Display Name of the workflow | |
| name: Static Analysis - Lint | |
| # When this workflow triggers | |
| on: | |
| # Allows this workflow to be manually run | |
| workflow_dispatch: | |
| # Allow this workflow to be called from another workflow | |
| workflow_call: | |
| # Run the linting checks on every change | |
| push: | |
| branches: [main] | |
| pull_request: | |
| branches: [main] | |
| # Define each session of execution that should be executed | |
| jobs: | |
| Lint: | |
| # Display name of the job | |
| name: Lint | |
| # Operating system filter for the runners | |
| runs-on: ubuntu-latest | |
| # Set explicit least permission | |
| permissions: | |
| contents: read | |
| steps: | |
| # Checks-out your repository under $GITHUB_WORKSPACE | |
| - uses: actions/checkout@v5 | |
| # Set up NodeJS on the build host | |
| - name: Setup Node.js environment | |
| uses: actions/setup-node@v6 | |
| with: | |
| node-version: 22 | |
| # Install all of the dependencies | |
| - name: Install All of the Project Dependencies | |
| run: npm install | |
| # Lint the Source code to ensure project standardization and best practices | |
| - name: Lint Source Code | |
| run: npm run-script lint |