Compare commits

..
Author SHA1 Message Date
james.maesandCodex 8ed5afa990 ci: adopt central orb 0.7.12 and stable gates
Co-Authored-By: Codex <noreply@openai.com>
2026-10-21 08:45:53 -05:00
james.maesandCodex 2f193c088b ci: adopt shared orb 0.7.11 (#5)
Co-authored-by: Codex <noreply@openai.com>
2026-10-21 00:53:13 -05:00
james.maesandCodex 18723ae8c2 ci: centralize CLI verification and package publishing (#4)
Co-authored-by: Codex <noreply@openai.com>
2026-10-20 19:50:29 -05:00
james.maes 9816569a3d Merge pull request #1 from QRun-IO/feature/initial-cli
feat: reference CLI, generated UI API client, mock and conformance suite
2026-10-15 13:46:04 -05:00
4 changed files with 17 additions and 74 deletions

No files matched your search

+11 -13
View File
@@ -1,16 +1,14 @@
version: 2.1
# Build and test on CircleCI (as the other QRun-IO repos); GitHub Actions also
# runs .github/workflows/ci.yml and publishes on version tags.
jobs:
build:
docker:
- image: cimg/node:22.12
steps:
- checkout
- run: npm ci
- run: npm run build
- run: npm test
setup: true
orbs:
qqq-orb: kingsrook/qqq-orb@0.7.12
workflows:
build:
setup:
jobs:
- build
- qqq-orb/generate_pipeline:
orb_version: 0.7.12
filters:
branches:
ignore: automation/qbit-rc-pending
tags:
only: /.*/
-28
View File
@@ -1,28 +0,0 @@
name: ci
on:
pull_request:
push:
branches: [main]
permissions:
contents: read
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 22
cache: npm
- run: npm ci
- name: Generated client is up to date with the vendored document
run: |
npm run generate
git diff --exit-code packages/ui-api-client/src/schema.ts
- run: npm run build
- run: npm test
- name: Mock server smoke test (Prism on the merged document)
run: |
npx prism mock --port 4010 packages/ui-api-client/openapi/qqq-v1.json > prism.log 2>&1 &
for i in $(seq 1 30); do curl -fsS http://127.0.0.1:4010/qqq/v1/version && break; sleep 1; done
curl -fsS http://127.0.0.1:4010/qqq/v1/metaData/authentication
-33
View File
@@ -1,33 +0,0 @@
name: publish
# Publishes the three packages to GitHub Packages (npm.pkg.github.com, scope @qrun-io)
# when a version tag (v*) is pushed. The tag must match the client package version.
on:
push:
tags: ['v*']
permissions:
contents: read
packages: write
jobs:
publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 22
registry-url: https://npm.pkg.github.com
scope: '@qrun-io'
- run: npm ci
- run: npm run build
- run: npm test
- name: Tag matches the client version
run: test "v$(node -p "require('./packages/ui-api-client/package.json').version")" = "${GITHUB_REF_NAME}"
- run: npm publish -w @qrun-io/qqq-ui-api-client --tag rc
env:
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- run: npm publish -w @qrun-io/qqq-ui-api-conformance --tag rc
env:
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- run: npm publish -w @qrun-io/qqq-cli --tag rc
env:
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
+6
View File
@@ -0,0 +1,6 @@
profile: cli
orb_version: 0.7.12
default_branch: main
publish:
release: true
publish_context: qqq-maven-registry-credentials