# This workflow will do a clean installation of node dependencies, cache/restore them, build the source code and run tests across different versions of node
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-nodejs
name: Development CI
on:
push:
branches: ["*", "*/*", "**", "!main"]
pull_request:
branches: ["*", "*/*", "**", "!main"]
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: ["24.x"]
steps:
- uses: actions/checkout@v4.1.1
with:
submodules: recursive
- name: Use Node.js ${{ matrix.node-version }} on ${{ matrix.os }}
uses: actions/setup-node@v4.0.0
with:
node-version: ${{ matrix.node-version }}
cache: "npm"
- run: npm ci
- run: npm run gen
- run: npm run lint
- run: npm run test:unit
- name: Test DXT package build
run: |
# Install DXT CLI tool
npm install -g @anthropic-ai/dxt
# Build DXT package to ensure it works
npm run build:dist
npm run build:dxt
echo "DXT package build test completed!"
ls -la *.dxt