Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 4 additions & 11 deletions .github/workflows/release-dispatch.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
name: Release-dispatch
description: Publishes a new npm version on dispatch. Use this if you want to release a (beta) version from a feature branch without merging code into main.

on:
workflow_call:
Expand Down Expand Up @@ -58,14 +59,6 @@ jobs:
- name: Set up Node.js
uses: labd/gh-actions-typescript/pnpm-install@main

- name: Create and publish versions
uses: changesets/action@v1
with:
title: "Release new version"
commit: "update version"
publish: pnpm publish:ci
version: pnpm publish:version
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
- name: Publish
run: pnpm run publish:ci