Skip to content

feat(memory): add local embedding provider via transformers.js (#95) #122

feat(memory): add local embedding provider via transformers.js (#95)

feat(memory): add local embedding provider via transformers.js (#95) #122

Workflow file for this run

name: Release
on:
push:
branches: [main]
permissions:
contents: write
pull-requests: write
packages: write
deployments: write
jobs:
release-please:
name: Release Please
runs-on: ubuntu-latest
outputs:
release_created: ${{ steps.release.outputs.release_created }}
tag_name: ${{ steps.release.outputs.tag_name }}
version: ${{ steps.release.outputs.version }}
steps:
- uses: googleapis/release-please-action@v5
id: release
with:
token: ${{ secrets.GITHUB_TOKEN }}
config-file: release-please-config.json
manifest-file: .release-please-manifest.json
publish-tarball:
name: Publish Tarball
runs-on: ubuntu-latest
needs: release-please
if: needs.release-please.outputs.release_created
steps:
- uses: actions/checkout@v6
- uses: actions/setup-node@v6
with:
node-version: 20
cache: npm
- run: npm ci
- run: npm run build
- name: Package release
env:
VERSION: ${{ needs.release-please.outputs.version }}
run: |
tar -czf "clearpr-${VERSION}.tar.gz" \
dist/ \
package.json \
package-lock.json \
README.md \
LICENSE \
Dockerfile \
docker-compose.yml \
.env.example
- name: Upload to GitHub Release
uses: softprops/action-gh-release@v3
with:
tag_name: ${{ needs.release-please.outputs.tag_name }}
files: clearpr-${{ needs.release-please.outputs.version }}.tar.gz
publish-docker:
name: Publish Docker
needs: release-please
if: needs.release-please.outputs.release_created
uses: ./.github/workflows/docker-publish.yml
with:
version: ${{ needs.release-please.outputs.version }}
tag_name: ${{ needs.release-please.outputs.tag_name }}
secrets: inherit
deploy-docs:
name: Deploy Docs
needs: release-please
if: needs.release-please.outputs.release_created
uses: ./.github/workflows/docs-deploy.yml
secrets: inherit