Skip to content

feat(db): add dateCreated and lastModified to Repo #10409

feat(db): add dateCreated and lastModified to Repo

feat(db): add dateCreated and lastModified to Repo #10409

Workflow file for this run

name: Code Cleanliness
on: [pull_request]
env:
NODE_VERSION: 22
permissions:
contents: read
jobs:
linting:
name: Linting
runs-on: ubuntu-latest
steps: # list of steps
- name: Harden Runner
uses: step-security/harden-runner@bf7454d06d71f1098171f2acdf0cd4708d7b5920 # v2.20.0
with:
egress-policy: audit
- name: Install NodeJS
uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v6
with:
node-version: ${{ env.NODE_VERSION }}
- name: Code Checkout
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
with:
fetch-depth: 0
- name: Install Dependencies
run: npm ci --workspaces
- name: Code Linting
run: |
npm run lint
npm run lint --workspaces --if-present
- name: Check formatting
run: npm run format:check
- name: Check generated config types are up-to-date
run: |
npm run generate-config-types
if ! git diff --exit-code src/config/generated/config.ts; then
echo "Generated config types are out of date. Run 'npm run generate-config-types' locally and commit the changes."
exit 1
fi