Skip to content

ci: switch dependabot to bun updates #65

ci: switch dependabot to bun updates

ci: switch dependabot to bun updates #65

Workflow file for this run

name: Release
on:
push:
branches:
- main
- beta
- alpha
workflow_dispatch:
permissions:
contents: write
pull-requests: write
id-token: write
jobs:
release:
name: Release
runs-on: ubuntu-latest
outputs:
release_branch: ${{ github.ref_name }}
released: ${{ steps.sampo.outputs.released }}
published: ${{ steps.sampo.outputs.published }}
steps:
- name: Checkout
uses: actions/checkout@v6
with:
fetch-depth: 0
- name: Setup Node.js
uses: actions/setup-node@v6
with:
node-version: '24'
registry-url: 'https://registry.npmjs.org'
- name: Setup Bun
uses: oven-sh/setup-bun@v2
with:
bun-version: latest
- name: Install dependencies
run: bun install --frozen-lockfile
- name: Run release checks
run: bun run release:check
- name: Run Sampo release and publish automation
id: sampo
uses: bruits/sampo/crates/sampo-github-action@sampo-github-action-v0.15.4
with:
command: auto
create-github-release: true
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_CONFIG_PROVENANCE: 'true'
deploy_docs:
name: Deploy docs to Cloudflare Pages
needs: release
if: needs.release.result == 'success'
uses: ./.github/workflows/deploy-docs-pages.yml
with:
target: ${{ needs.release.outputs.release_branch == 'main' && 'production' || 'preview' }}
preview_branch: ${{ needs.release.outputs.release_branch != 'main' && needs.release.outputs.release_branch || '' }}
secrets: inherit