Skip to content

feat(docs): replace Scalar with Redoc for /api/docs UI (#3466) #2436

feat(docs): replace Scalar with Redoc for /api/docs UI (#3466)

feat(docs): replace Scalar with Redoc for /api/docs UI (#3466) #2436

Workflow file for this run

name: CI
on:
push:
branches: [master, main]
paths-ignore:
- '**/*.md'
- 'documentation/**'
- '.claude/**'
pull_request:
branches: [master, main]
paths-ignore:
- '**/*.md'
- 'documentation/**'
- '.claude/**'
concurrency:
group: ci-${{ github.ref }}
cancel-in-progress: true
jobs:
test:
runs-on: ${{ vars.RUNNER || 'ubuntu-latest' }}
timeout-minutes: 30
services:
mongo:
image: mongo:7
ports:
- 27017:27017
options: >-
--health-cmd="mongosh --quiet --eval 'db.runCommand({ ping: 1 })'"
--health-interval=10s
--health-timeout=5s
--health-retries=10
env:
NODE_ENV: ${{ vars.APP_ENV || 'test' }}
DEVKIT_NODE_db_uri: ${{ secrets.MONGO_URI || vars.MONGO_URI || 'mongodb://localhost:27017/NodeTest' }}
steps:
- uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: lts/*
cache: npm
- run: npm ci
- run: npm run lint
- run: npm run test:coverage
- uses: codecov/codecov-action@v5
if: env.CODECOV_TOKEN != ''
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
with:
token: ${{ secrets.CODECOV_TOKEN }}
slug: ${{ github.repository }}