message: Run code quality check on a nightly schedule
diff: name: CodeQL
  on:
  - push:
  - branches: [main]
  - paths-ignore:
  - - cypress/**
  - - mocks/**
  - pull_request:
  - branches: [main]
  - paths-ignore:
  - - cypress/**
  - - mocks/**
  + schedule:
  + - cron: "0 2 * * *"
  env:
  NODE_VERSION: 18
  jobs:
  