Skip to content

minor doc fixes

minor doc fixes #340

Workflow file for this run

name: CI - JavaScript/Typescript/Node Projects
on:
workflow_dispatch:
push:
branches: [ main ]
paths:
- 'javascript/**'
pull_request:
paths:
- 'javascript/**'
jobs:
build:
runs-on: ubuntu-latest
defaults:
run:
working-directory: javascript
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: 20
cache: npm
cache-dependency-path: javascript/package-lock.json
- name: Install dependencies
run: npm ci
- name: CI
run: npx nx run build-tools-workspace:ci --skip-nx-cache
- name: Check Changesets (PR only)
if: github.event_name == 'pull_request'
run: npx changeset status
release:
needs: build
if: false # provisionally disabled — NPM token issues unresolved; publish locally instead
runs-on: ubuntu-latest
permissions:
contents: write
defaults:
run:
working-directory: javascript
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: 20
registry-url: https://registry.npmjs.org
cache: npm
cache-dependency-path: javascript/package-lock.json
- name: Install deps
run: npm ci
- name: Build all packages
run: npx nx run-many -t build --skip-nx-cache
# DEPRECATED: Publish step disabled until NPM token issues are resolved.
# NPM_TOKEN is not functioning correctly in CI, causing patch releases to fail.
# Do not re-enable until the token has been rotated and verified.
- name: Publish with Changesets
id: publish
if: false
run: npx changeset publish
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
- name: Wait for npm registry propagation
run: sleep 15
- name: Post-publish smoke test
run: |
VERSION=$(node -p "require('./autogen-markdown-doc/package.json').version")
bash scripts/post-publish-smoke-test.sh "$VERSION"