Skip to content

Create Release

Create Release #5

Workflow file for this run

name: Create Release
on:
workflow_dispatch:
inputs:
increment:
type: choice
description: Increment
required: true
options:
- patch
- minor
- major
permissions:
id-token: write
contents: write
jobs:
release:
runs-on: ubuntu-latest
steps:
- name: Checkout [main]
uses: actions/checkout@v6
with:
fetch-depth: 0
- name: Init npm cache
uses: actions/setup-node@v6
with:
node-version: '24'
cache: 'npm'
registry-url: 'https://registry.npmjs.org'
package-manager-cache: false
- name: install dependencies
run: npm ci
- name: git config
run: |
git config --global user.name "Release Workflow"
git config --global user.email "support@getjetstream.app"
- name: Run Release
run: npm run release -- "$INCREMENT" --ci
env:
INCREMENT: ${{ github.event.inputs.increment }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}