Skip to content

chore(deps): bump ink from 6.8.0 to 7.0.0 #94

chore(deps): bump ink from 6.8.0 to 7.0.0

chore(deps): bump ink from 6.8.0 to 7.0.0 #94

Workflow file for this run

name: CI
on:
push:
branches: [main, master]
pull_request:
jobs:
test:
name: Test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- uses: actions/setup-node@v6
with:
node-version: 20
cache: npm
- name: Install dependencies
run: npm ci
- name: Run tests
run: npm test
env:
MISTRAL_API_KEY: ${{ secrets.MISTRAL_API_KEY }}
build:
name: Build
needs: test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- uses: actions/setup-node@v6
with:
node-version: 20
cache: npm
- name: Install dependencies
run: npm ci
- name: Build
run: npm run build
- name: Upload dist artifact
uses: actions/upload-artifact@v7
with:
name: dist
path: dist/
retention-days: 7
# ── Optional: publish to npm ──────────────────────────────────────────────
# To enable npm publishing:
# 1. Set the NPM_TOKEN secret in your repository settings
# (Settings → Secrets and variables → Actions → New repository secret).
# 2. Ensure the package name "@huberp/agentloop" is available on npm.
# 3. Push a tag matching `v*` (e.g. `git tag v1.0.0 && git push --tags`).
#
# publish:
# name: Publish to npm
# needs: build
# runs-on: ubuntu-latest
# if: github.ref_type == 'tag' && startsWith(github.ref, 'refs/tags/v')
# steps:
# - uses: actions/checkout@v6
# - uses: actions/setup-node@v6
# with:
# node-version: 20
# registry-url: https://registry.npmjs.org
# cache: npm
# - run: npm ci
# - run: npm publish --access public
# env:
# NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}