Skip to content

feat(migrate): DB tooling for v1.19.2 -> v2.0.0 (URLs + emails + ACL audit) #9900

feat(migrate): DB tooling for v1.19.2 -> v2.0.0 (URLs + emails + ACL audit)

feat(migrate): DB tooling for v1.19.2 -> v2.0.0 (URLs + emails + ACL audit) #9900

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@ab7a9404c0f3da075243ca237b5fac12c98deaa5 # v2
with:
egress-policy: audit
- name: Install NodeJS
uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6
with:
node-version: ${{ env.NODE_VERSION }}
- name: Code Checkout
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
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