Skip to content

chore: await uncaught promises (#582) #789

chore: await uncaught promises (#582)

chore: await uncaught promises (#582) #789

Workflow file for this run

name: "CodeQL"

Check failure on line 1 in .github/workflows/codeql.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/codeql.yml

Invalid workflow file

you may only define one of `paths` and `paths-ignore` for a single event
on:
push:
branches: [ "main" ]
paths:
- 'packages/**'
paths-ignore:
- 'packages/**/node_modules/**'
- 'packages/**/dist/**'
- 'packages/jitar'
- 'packages/create-jitar'
pull_request:
branches: [ "main" ]
paths:
- 'packages/**'
paths-ignore:
- 'packages/**/node_modules/**'
- 'packages/**/dist/**'
- 'packages/jitar'
- 'packages/create-jitar'
schedule:
- cron: '39 10 * * 1'
jobs:
analyze:
name: Analyze
runs-on: ubuntu-latest
permissions:
actions: read
contents: read
security-events: write
strategy:
fail-fast: false
matrix:
language: [ 'javascript' ]
package:
- 'packages/analysis'
- 'packages/build'
- 'packages/cli'
- 'packages/configurations'
- 'packages/errors'
- 'packages/execution'
- 'packages/health'
- 'packages/http'
- 'packages/logging'
- 'packages/middleware'
- 'packages/plugin-vite'
- 'packages/runtime'
- 'packages/serialization'
- 'packages/services'
- 'packages/sourcing'
- 'packages/validation'
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Initialize CodeQL
uses: github/codeql-action/init@v3
with:
source-root: ${{ matrix.package }}
languages: ${{ matrix.language }}
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v3
with:
category: "/language:${{matrix.language}}"