Skip to content

fix: switch to tmux window after webmux open (#121) #111

fix: switch to tmux window after webmux open (#121)

fix: switch to tmux window after webmux open (#121) #111

Workflow file for this run

name: Release
on:
push:
branches: [main]
permissions:
contents: write
pull-requests: write
jobs:
release:
runs-on: ubuntu-latest
steps:
- uses: googleapis/release-please-action@v4
id: release
with:
config-file: release-please-config.json
manifest-file: .release-please-manifest.json
- uses: actions/checkout@v4
if: ${{ steps.release.outputs.release_created }}
- uses: actions/setup-node@v4
if: ${{ steps.release.outputs.release_created }}
with:
registry-url: https://registry.npmjs.org
- uses: oven-sh/setup-bun@v2
if: ${{ steps.release.outputs.release_created }}
- run: bun install --frozen-lockfile
if: ${{ steps.release.outputs.release_created }}
- run: bun run build
if: ${{ steps.release.outputs.release_created }}
- run: npm publish
if: ${{ steps.release.outputs.release_created }}
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
- name: Notify changelog to Discord
if: ${{ steps.release.outputs.release_created }}
env:
WINDMILL_TOKEN: ${{ secrets.WINDMILL_TOKEN }}
run: |
BODY=$(jq -n --arg changelog "${{ steps.release.outputs.body }}" '{"changelog_body": $changelog}')
curl -sf -X POST \
-H 'Content-Type: application/json' \
-H "Authorization: Bearer $WINDMILL_TOKEN" \
-d "$BODY" \
'https://app.windmill.dev/api/w/windmill-labs/jobs/run/p/f/all/forward-webmux-changelog-discord'