fix(types): resolve WebCrypto BufferSource incompatibilities and Argo… #363
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
| name: Base CI | |
| on: | |
| push: | |
| branches: | |
| - main | |
| pull_request: | |
| types: [opened, synchronize, reopened, ready_for_review] | |
| jobs: | |
| codeql: | |
| name: CodeQL Security Scan | |
| runs-on: ubuntu-latest | |
| permissions: | |
| actions: read | |
| contents: read | |
| security-events: write | |
| steps: | |
| - name: Checkout source code | |
| uses: actions/checkout@v6 | |
| - name: Initialize CodeQL | |
| uses: github/codeql-action/init@v4 | |
| with: | |
| languages: javascript,typescript | |
| - name: Autobuild | |
| uses: github/codeql-action/autobuild@v4 | |
| - name: Perform CodeQL Analysis | |
| uses: github/codeql-action/analyze@v4 | |
| test-build: | |
| name: Build & Test | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - uses: oven-sh/setup-bun@v2 | |
| with: | |
| bun-version: latest | |
| - run: bun ci | |
| - name: Full Lint | |
| run: | | |
| echo "## Lint results" >> "$GITHUB_STEP_SUMMARY" | |
| echo "" >> "$GITHUB_STEP_SUMMARY" | |
| bun run lint 2>&1 | tee lint.log || true | |
| { | |
| echo '```' | |
| cat lint.log | |
| echo '```' | |
| } >> "$GITHUB_STEP_SUMMARY" | |
| - run: bun test --timeout 20000 | |
| - name: Full Audit | |
| run: | | |
| echo "## Audit results (all severities)" >> "$GITHUB_STEP_SUMMARY" | |
| echo "" >> "$GITHUB_STEP_SUMMARY" | |
| bun audit 2>&1 | tee audit.log || true | |
| { | |
| echo '```' | |
| cat audit.log | |
| echo '```' | |
| } >> "$GITHUB_STEP_SUMMARY" | |
| - run: bun run build |