Skip to content

Refactor Pine Assistant plugin runtime API usage: capture runtime API… #15

Refactor Pine Assistant plugin runtime API usage: capture runtime API…

Refactor Pine Assistant plugin runtime API usage: capture runtime API… #15

Workflow file for this run

name: CI
on:
push:
branches: [main]
pull_request:
branches: [main]
workflow_call:
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [18, 20, 22]
steps:
- uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
- name: Install dependencies
run: npm install
- name: Build
run: npm run build
- name: Verify dist output
run: |
test -f dist/index.js || (echo "Missing dist/index.js" && exit 1)
test -f dist/index.d.ts || (echo "Missing dist/index.d.ts" && exit 1)
- name: Check package contents
run: npm pack --dry-run