Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
37 changes: 20 additions & 17 deletions .github/workflows/run-samples.yml
Original file line number Diff line number Diff line change
Expand Up @@ -163,23 +163,26 @@ jobs:
github.event.pull_request.head.sha ||
github.ref }}

# ── Set up Node.js for JavaScript tests
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: '20'
cache: npm

# ── Install JavaScript dependencies
- name: Install npm packages
run: npm ci

# ── Run Vitest
- name: Run Vitest
env:
PROJECT_CLIENT: ${{ secrets.PROJECT_CLIENT }}
MODEL_DEPLOYMENT_NAME: ${{ secrets.MODEL_DEPLOYMENT_NAME }}
run: npx vitest run --coverage
# # ── Set up Node.js for JavaScript/TypeScript tests
# - name: Set up Node.js
# if: false # Temporarily disable
# uses: actions/setup-node@v4
# with:
# node-version: '20'
# cache: npm

# # ── Install JavaScript dependencies
# - name: Install npm packages
# if: false # Temporarily disable
# run: npm ci

# # ── Run Vitest JavaScript/TypeScript tests
# - name: Run Vitest
# if: false # Temporarily disable
# env:
# PROJECT_CLIENT: ${{ secrets.PROJECT_CLIENT }}
# MODEL_DEPLOYMENT_NAME: ${{ secrets.MODEL_DEPLOYMENT_NAME }}
# run: npx vitest run --coverage

# ── Set up .NET SDK
- name: Set up .NET SDK
Expand Down
Loading