Skip to content

fix: robust agent registration — clean before copy, force settings, a… #3

fix: robust agent registration — clean before copy, force settings, a…

fix: robust agent registration — clean before copy, force settings, a… #3

Workflow file for this run

name: CI
on:
push:
branches:
- main
- master
pull_request:
branches:
- main
- master
jobs:
test:
name: Test on Node ${{ matrix.node }}
runs-on: ubuntu-latest
strategy:
matrix:
node: [20, 22]
defaults:
run:
working-directory: superpower-copilot
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Setup Node.js ${{ matrix.node }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node }}
cache: 'npm'
cache-dependency-path: superpower-copilot/package-lock.json
- name: Install dependencies
run: npm ci
- name: Run linter
run: npm run lint
- name: Compile TypeScript
run: npm run compile
- name: Run unit tests
run: node test/unit/history-simple.test.js
- name: Package extension
run: npx vsce package --no-dependencies
- name: Upload VSIX artifact
if: matrix.node == 20
uses: actions/upload-artifact@v4
with:
name: superpower-copilot-vsix
path: superpower-copilot/*.vsix
retention-days: 7