Skip to content

ci(release): Use tagpr to prepare releasing (#91) #19

ci(release): Use tagpr to prepare releasing (#91)

ci(release): Use tagpr to prepare releasing (#91) #19

Workflow file for this run

name: πŸš€ Release
on:
push:
branches:
- main
workflow_dispatch:
permissions:
contents: write
id-token: write
pull-requests: write
jobs:
Release:
runs-on: Ubuntu-Latest
steps:
- name: 🚚 Checkout Repository
uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1
- name: 🏷️ Release a New Version
id: tagpr
uses: Songmu/tagpr@591c6e0c988bccee7dda02bce1af7a3b2dc47065 # v1.4.2
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: πŸ“¦ Publish to JSR
if: ${{ steps.tagpr.outputs.tag != '' }}
run: npx jsr publish