@opengov/qa-contacts-api
v1.1.0
Published
Contacts GraphQL API client for QA integration tests
Maintainers
Keywords
Readme
@opengov/qa-contacts-api
GraphQL client for plc-service-contacts integration tests. Uses dependency injection for makeCitGraphQlApiRequest from @opengov/cit-api-base.
import { ContactsAPI } from '@opengov/qa-contacts-api';
import { makeCitGraphQlApiRequest } from '@opengov/cit-api-base/build/api-support/citApiHelper';
const api = new ContactsAPI(
makeCitGraphQlApiRequest,
process.env.CONTACTS_SERVICE_URL // optional; defaults to https://contacts.${PLC_GRAPHQL}.com/graphql
);Build from repo root: yarn --cwd qa-contacts-package build (also run via yarn build in qa-tests).
Publishing
This package uses release-please (workflow: .github/workflows/qa_release_test_code.yml), same pattern as plc-service-record-types (@opengov/qa-record-types-api).
- Change code under
qa-contacts-package/and merge tomain(conventional commits:feat:,fix:, etc.). - Release Please opens/updates a release PR (version +
CHANGELOG.md). - Merge that PR → tag
qa-contacts-api-v*, npm publish@opengov/qa-contacts-api. - Optional: workflow_dispatch with
force_publishif a release was missed.
Version baseline is tracked in .release-please-manifest.json at the repo root.
