Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 8 additions & 3 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ name: "CodeQL"

on:
push:
branches: [ master ]
branches: [master]
pull_request:
workflow_dispatch:

Expand All @@ -25,6 +25,7 @@ jobs:
tests:
name: Tests
runs-on: ubuntu-latest
timeout-minutes: 60

steps:
- uses: actions/checkout@v6
Expand All @@ -48,11 +49,15 @@ jobs:
- name: Linter
run: npm run lint

- name: Install Playwright Browsers
run: npx playwright install --with-deps

- name: Run tests
run: npm test --workspaces --if-present

- name: Build
run: npm run build --workspace=deepink
# The name from package.json is used as workspace name, not a dir name
run: npm run build --workspace deepink

analyze:
name: Analyze
Expand All @@ -68,7 +73,7 @@ jobs:
strategy:
fail-fast: false
matrix:
language: [ "javascript", "TypeScript" ]
language: ["javascript", "TypeScript"]
# CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python' ]
# Learn more:
# https://docs.github.com/en/free-pro-team@latest/github/finding-security-vulnerabilities-and-errors-in-your-code/configuring-code-scanning#changing-the-languages-that-are-analyzed
Expand Down
Loading