Skip to content

chore(deps-dev): bump bun-types from 1.1.40 to 1.1.41 (#168) #164

chore(deps-dev): bump bun-types from 1.1.40 to 1.1.41 (#168)

chore(deps-dev): bump bun-types from 1.1.40 to 1.1.41 (#168) #164

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)
id-token: write # The OIDC ID token is used for authentication with JSR.
runs-on: ubuntu-latest
steps:
- uses: googleapis/release-please-action@v4
id: release
with:
token: ${{ secrets.GITHUB_TOKEN }}
config-file: .github/config/release-please-config.json
manifest-file: .github/config/.release-please-config.json
- uses: actions/checkout@v4
with:
fetch-depth: 0
fetch-tags: true
- 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@v4
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 }}
- run: |
bun run ./scripts/prerelease.ts
bunx jsr publish --allow-dirty
if: ${{ steps.release.outputs.release_created }}