Merge pull request #12 from psteinroe/renovate/fastify-4.x #12
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Release | |
on: | |
push: | |
branches: | |
- main | |
workflow_dispatch: | |
jobs: | |
release: | |
name: Release | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- id: setup-bun | |
name: Setup Bun | |
uses: oven-sh/setup-bun@v1 | |
with: | |
bun-version: latest | |
- name: Install Dependencies | |
run: bun install --frozen-lockfile | |
- name: Build Packages | |
run: bun run build | |
- name: Create a release | |
id: changesets | |
uses: changesets/action@v1 | |
with: | |
version: bun run ci:version | |
commit: "chore: update versions" | |
title: "chore: update versions" | |
publish: bun run ci:release | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
NPM_TOKEN: ${{ secrets.NPM_TOKEN }} |