diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 12dbfd7..aa8a8c1 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -19,6 +19,7 @@ jobs: strategy: matrix: node-version: [22.x, 24.x, 25.x] + fail-fast: false steps: - uses: actions/checkout@v6 diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index 647f8a7..c32c0be 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -1,14 +1,14 @@ --- name: "CodeQL" -on: +'on': push: branches: ['main', 'hotfix'] pull_request: # branches below must be a subset of the above branches: ['main'] schedule: - - cron: '17 4 * * 5,6,0' + - cron: '17 4 * * 5,6,0' # eslint "yml/no-empty-mapping-value": 0 workflow_dispatch: @@ -16,42 +16,25 @@ jobs: analyze: name: "Analyze" runs-on: ubuntu-latest - timeout-minutes: 15 + timeout-minutes: 10 permissions: actions: read contents: read security-events: write strategy: - fail-fast: true + fail-fast: false matrix: - language: [ 'javascript' ] - # Learn more about CodeQL language support at https://git.io/codeql-language-support + language: ['javascript'] steps: - - name: "Checkout repository" - uses: actions/checkout@v6 + - name: "Checkout repository" + uses: actions/checkout@v6 - - name: "Initialize CodeQL" - uses: github/codeql-action/init@v4 - with: - languages: ${{ matrix.language }} + - name: "Initialize CodeQL" + uses: github/codeql-action/init@v4 + with: + languages: ${{ matrix.language }} - # Autobuild attempts to build any compiled languages (C/C++, C#, or Java). - # If this step fails, then you should remove it and run the build manually (see below) - # - name: "Autobuild" - # uses: github/codeql-action/autobuild@v3 - - # â„šī¸ Command-line programs to run using the OS shell. - # 📚 https://git.io/JvXDl - - # âœī¸ If the Autobuild fails above, remove it and uncomment the following three lines - # and modify them (or add more) to build your code if your project - # uses a compiled language - - # - run: | - # make bootstrap - # make release - - - name: "Perform CodeQL Analysis" - uses: github/codeql-action/analyze@v4 + - name: "Perform CodeQL Analysis" + uses: github/codeql-action/analyze@v4 diff --git a/.github/workflows/linter.yml b/.github/workflows/linter.yml index c4f4724..1041b0c 100644 --- a/.github/workflows/linter.yml +++ b/.github/workflows/linter.yml @@ -23,7 +23,7 @@ jobs: - name: "Checkout Code" uses: actions/checkout@v6 with: - # Full git history needed for list of changed files w/in `super-linter` + # Full git history needed for `super-linter` changed files list fetch-depth: 0 # Setup Node.js @@ -41,7 +41,7 @@ jobs: restore-keys: | npm-${{ runner.os }}- - # Install ESLint & plugin (not in package.json; targeting zero dependencies) + # Install ESLint & plugin (not in package.json; zero dependencies) - name: Install ESLint Plugins run: npm install --no-save --engine-strict=false eslint eslint-plugin-n