Skip to content

Enhances documentation and CLI experience #28

Enhances documentation and CLI experience

Enhances documentation and CLI experience #28

name: Run Smoke Tests
on:
push:
branches: ['main']
workflow_dispatch: # allows manual run from GitHub UI
jobs:
run-smoke-tests:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: '20' # adjust as needed
- name: Print Node.js version
run: node --version
- name: Install dependencies
run: npm ci # npm clean-install (installs without changing package-lock.json)
- name: Build # So that dist/ gets updated too.
run: npm run build
- name: Run Specific Test
run: |
echo "Running test: ${{ github.event.inputs.testName }}"
npm run ci:test:smoke