Files
vscode/.github/workflows/chat-lib-package.yml
T
dependabot[bot] 563e1428a6 build(deps): bump actions/setup-node from 6.5.0 to 7.0.0 (#329352)
Bumps [actions/setup-node](https://github.com/actions/setup-node) from 6.5.0 to 7.0.0.
- [Release notes](https://github.com/actions/setup-node/releases)
- [Commits](https://github.com/actions/setup-node/compare/249970729cb0ef3589644e2896645e5dc5ba9c38...820762786026740c76f36085b0efc47a31fe5020)

---
updated-dependencies:
- dependency-name: actions/setup-node
  dependency-version: 7.0.0
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-08-28 10:08:01 +00:00

56 lines
1.4 KiB
YAML

name: chat-lib tests
on:
pull_request:
workflow_dispatch:
permissions:
contents: read
concurrency:
group: chat-lib-tests-${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
jobs:
test:
name: chat-lib tests (${{ matrix.os }})
runs-on: ${{ matrix.os }}
timeout-minutes: 30
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
steps:
- name: Checkout
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
- name: Setup Node.js
uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0
with:
node-version-file: extensions/copilot/.nvmrc
cache: npm
cache-dependency-path: |
extensions/copilot/package-lock.json
extensions/copilot/chat-lib/package-lock.json
- name: Extract chat-lib
shell: bash
working-directory: extensions/copilot
run: |
npm ci
npm run extract-chat-lib
rm -rf node_modules
- name: Install chat-lib dependencies
working-directory: extensions/copilot/chat-lib
run: npm ci
- name: Build chat-lib
working-directory: extensions/copilot/chat-lib
run: npm run build
- name: Test chat-lib
working-directory: extensions/copilot/chat-lib
run: npm test