Skip to content

Workflow file for this run

on:
push:
tags:
- 'multipart-parser@[0-9]+.[0-9]+.[0-9]+'
- 'scripts-test@[0-9]+.[0-9]+.[0-9]+'
jobs:
release:
runs-on: ubuntu-latest
permissions:
contents: read
id-token: write # The OIDC ID token is used for authentication with JSR.
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install Node.js
uses: actions/setup-node@v4
with:
node-version: 22
- name: Split tag name
env:
TAG: ${{ github.ref_name }}
id: tag
run: echo "::set-output name=package-name::${TAG%%@*}"
- name: Publish
working-directory: 'packages/${{ steps.tag.outputs.package-name }}'
run: npx jsr publish