Skip to content

feat: Add the ability to navigate up and down between previous prompt… #143

feat: Add the ability to navigate up and down between previous prompt…

feat: Add the ability to navigate up and down between previous prompt… #143

Workflow file for this run

name: Release
on:
push:
branches:
- main
workflow_dispatch:
jobs:
check-package-version:
name: Check package version and detect an update
runs-on: ubuntu-latest
permissions:
contents: read
outputs:
committed-version: ${{ steps.check-package-version.outputs.committed-version }}
published-version: ${{ steps.check-package-version.outputs.published-version }}
is-new-version: ${{ steps.check-package-version.outputs.is-new-version }}
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Check package version and detect an update
id: check-package-version
uses: PostHog/check-package-version@v2
with:
path: packages/agent
release:
name: Publish release if new version
runs-on: ubuntu-latest
needs: check-package-version
if: needs.check-package-version.outputs.is-new-version == 'true'
permissions:
contents: read
id-token: write
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Set up Node 24
uses: actions/setup-node@v4
with:
node-version: 24
registry-url: https://registry.npmjs.org
- name: Install pnpm
run: npm install -g pnpm
- name: Install dependencies
run: pnpm install --frozen-lockfile
- name: Build the package
run: pnpm --filter agent run build
- name: Publish the package to npm registry
working-directory: packages/agent
run: pnpm publish --access public