Skip to content

docs: add changelog for 0.25.5 #1

docs: add changelog for 0.25.5

docs: add changelog for 0.25.5 #1

name: build and release pipes
on:
push:
paths:
- 'pipes/**'
branches:
- main
jobs:
build-pipes:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: setup node
uses: actions/setup-node@v4
with:
node-version: '20'
- name: setup bun
uses: oven-sh/setup-bun@v1
with:
bun-version: 1.1.43
- name: get core pipes list
id: core-pipes
run: |
PIPES="memories data-table search timeline identify-speakers"
echo "pipes=$PIPES" >> $GITHUB_OUTPUT
- name: build pipes
run: |
for pipe in ${{ steps.core-pipes.outputs.pipes }}; do
if [ -d "pipes/$pipe" ]; then
echo "building $pipe..."
cd pipes/$pipe
bun install
bun run build
# create zip only if build succeeded and dist exists
if [ -d "dist" ]; then
cd dist
zip -r ../../$pipe.zip .
cd ../..
else
echo "warning: no dist directory found for $pipe"
fi
# go back to root for next iteration
cd ../../
else
echo "warning: pipe directory $pipe not found"
fi
done
- name: generate release tag
id: tag
run: |
SHA=$(git rev-parse --short HEAD)
echo "tag=pipes-${SHA}" >> $GITHUB_OUTPUT
- name: create release
uses: softprops/action-gh-release@v1
with:
tag_name: ${{ steps.tag.outputs.tag }}
name: pipes build ${{ steps.tag.outputs.tag }}
files: |
*.zip
draft: false
prerelease: false
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}