Skip to content

Commit bb09bca

Browse files
authored
chore: check version change and auto publish if it has changed (#31)
* chore: check version change * 0.7.1
1 parent db8ad89 commit bb09bca

2 files changed

Lines changed: 7 additions & 3 deletions

File tree

.github/workflows/publish.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
name: "Publish"
22

33
on:
4-
release:
5-
types: [published]
4+
push:
5+
branches:
6+
- main
67
workflow_dispatch:
78

89
jobs:
@@ -48,6 +49,9 @@ jobs:
4849
- name: Install package.json dependencies with pnpm
4950
run: pnpm install
5051

52+
- name: Build the package
53+
run: pnpm build
54+
5155
- name: Publish the package in the npm registry
5256
run: pnpm publish --access public
5357
env:

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@posthog/wizard",
3-
"version": "0.7.0",
3+
"version": "0.7.1",
44
"homepage": "https://github.com/posthog/wizard",
55
"repository": "https://github.com/posthog/wizard",
66
"description": "The PostHog wizard helps you to configure your project",

0 commit comments

Comments
 (0)