Skip to content
This repository was archived by the owner on Jul 26, 2025. It is now read-only.

Release HEAD

Release HEAD #35

Workflow file for this run

name: Release HEAD
on:
workflow_dispatch:
jobs:
release-head:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: '22.x'
registry-url: 'https://registry.npmjs.org'
- name: Install dependencies
run: npm install
- name: Bump version
run: |
VERSION=$(jq -r '.version' package.json)
SHA=$(git rev-parse --short=10 HEAD)
npm version "${VERSION}-next-${SHA}" --no-git-tag-version
- name: Publish HEAD tagged as next
run: npm publish --tag next
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_BOT_TOKEN }}