Skip to content

fix: escape file names in git diff commands for better compatibility … #156

fix: escape file names in git diff commands for better compatibility …

fix: escape file names in git diff commands for better compatibility … #156

name: Release Package
on:
push:
branches:
- main
permissions:
contents: write
pull-requests: write
jobs:
release-please:
runs-on: ubuntu-latest
steps:
- uses: googleapis/release-please-action@v4
id: release
with:
release-type: node
- uses: actions/checkout@v4
if: ${{ steps.release.outputs.release_created }}
- uses: oven-sh/setup-bun@v2
with:
bun-version: latest
if: ${{ steps.release.outputs.release_created }}
- run: bun i
if: ${{ steps.release.outputs.release_created }}
- run: |
echo "//registry.npmjs.org/:_authToken=${NODE_AUTH_TOKEN}" > ~/.npmrc
bun publish:build
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
if: ${{ steps.release.outputs.release_created }}