Skip to content

chore(deps-dev): bump bun-types from 1.0.19 to 1.0.20 (#19) #20

chore(deps-dev): bump bun-types from 1.0.19 to 1.0.20 (#19)

chore(deps-dev): bump bun-types from 1.0.19 to 1.0.20 (#19) #20

on:
push:
branches:
- main
name: Semantic Release
permissions:
contents: read # For Checkout
jobs:
release:
permissions:
contents: write # to create release commit (google-github-actions/release-please-action)
pull-requests: write # to create release PR (google-github-actions/release-please-action)
packages: write # to publish to GitHub Packages (actions/setup-node)
runs-on: ubuntu-latest
steps:
- uses: google-github-actions/release-please-action@v3
id: release
with:
token: ${{ secrets.GITHUB_TOKEN }}
release-type: node
changelog-types: '[{"type":"feat","section":"Features","hidden":false},{"type":"fix","section":"Bug Fixes","hidden":false},{"type":"chore","section":"Miscellaneous","hidden":false}]'
- uses: actions/checkout@v4
- uses: oven-sh/setup-bun@v1
with:
bun-version: latest
- run: bun install
- run: bun --bun run build
- run: bun test
- uses: actions/setup-node@v3
with:
registry-url: 'https://npm.pkg.github.com'
if: ${{ steps.release.outputs.release_created }}
- run: npm publish
env:
NODE_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}}
if: ${{ steps.release.outputs.release_created }}