Skip to content

chore: release v0.1.1 #3

chore: release v0.1.1

chore: release v0.1.1 #3

Workflow file for this run

name: Publish
on:
push:
tags:
- 'v*'
permissions:
id-token: write # Required for OIDC trusted publishing
contents: write # Required for creating GitHub Releases
jobs:
checks:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
filter: tree:0
fetch-depth: 0
- uses: pnpm/action-setup@v4
- uses: actions/setup-node@v4
with:
node-version: 22
cache: 'pnpm'
- run: pnpm install --frozen-lockfile
- run: npx nx run-many -t lint test build typecheck --exclude domscribe-test-fixtures
publish:
runs-on: ubuntu-latest
needs: checks
steps:
- uses: actions/checkout@v4
with:
filter: tree:0
fetch-depth: 0
- uses: pnpm/action-setup@v4
- uses: actions/setup-node@v4
with:
node-version: 22
cache: 'pnpm'
registry-url: 'https://registry.npmjs.org'
- run: pnpm install --frozen-lockfile
- name: Build packages
run: npx nx run-many -t build --exclude domscribe-test-fixtures
- name: Sync dist
run: npx nx run-many -t sync-dist
- name: Publish to npm
run: npx nx release publish --yes
- name: Build Gemini extension archive
run: |
mkdir -p tmp/gemini-archive
cp packages/domscribe-relay/src/plugins/gemini/gemini-extension.json tmp/gemini-archive/
cp -r packages/domscribe-relay/src/plugins/gemini/skills tmp/gemini-archive/ 2>/dev/null || true
tar -czf tmp/domscribe-gemini-extension.tar.gz -C tmp/gemini-archive .
- name: Create GitHub Release
run: |
VERSION=${GITHUB_REF#refs/tags/}
gh release create "$VERSION" \
--title "$VERSION" \
--generate-notes \
tmp/domscribe-gemini-extension.tar.gz
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}