Skip to content

CodeQL

CodeQL #186

# For most projects, this workflow file will not need changing; you simply need
# to commit it to your repository.
#
# You may wish to alter this file to override the set of languages analyzed,
# or to provide custom queries or build logic.
#
name: "CodeQL"
on:
push:
branches: [master]
pull_request:
# The branches below must be a subset of the branches above
branches: [master]
schedule:
# At 04:35 AM, every 3 days
# test expression on https://crontab.cronhub.io/
- cron: "35 4 */3 * *"
workflow_dispatch:
jobs:
tests:
name: Tests
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: "22"
- name: Install deps
run: npm install
- name: Run tests
run: npm test run --typecheck
- name: Build the code
run: npm run build