File tree 2 files changed +7
-7
lines changed
2 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -2,10 +2,8 @@ name: Release
2
2
3
3
on :
4
4
push :
5
- # branches:
6
- # - main
7
- tags :
8
- - ' v*'
5
+ branches :
6
+ - main
9
7
env :
10
8
NODE_AUTH_TOKEN : ${{ secrets.NPM_TOKEN }}
11
9
41
39
- uses : changesets/action@v1
42
40
with :
43
41
cwd : packages/workflow
44
- title : ' Release @latest'
45
- publish : pnpm publish --access public --provenance --no-git-checks
42
+ title : " Release @latest"
43
+ publish : pnpm run release
46
44
env :
47
45
GITHUB_TOKEN : ${{ secrets.CHANGESET_GITHUB_TOKEN }}
48
46
NPM_TOKEN : ${{ secrets.NPM_TOKEN }}
Original file line number Diff line number Diff line change 4
4
"description" : " Durable visual workflows in your app, instantly" ,
5
5
"main" : " dist/index.js" ,
6
6
"scripts" : {
7
+ "changeset" : " changeset" ,
7
8
"build" : " rm -rf dist && tsc && cp src/ui/ui.css dist/ui/ui.css" ,
8
9
"test" : " jest --logHeapUsage --maxWorkers=8 --coverage --ci --silent=false" ,
9
10
"storybook" : " storybook dev -p 6006" ,
10
- "build-storybook" : " storybook build"
11
+ "build-storybook" : " storybook build" ,
12
+ "release" : " npm publish --access public --provenance && changeset tag && git push --follow-tags origin main"
11
13
},
12
14
"homepage" : " https://github.com/inngest/workflow-kit/tree/main/packages/workflow#readme" ,
13
15
"repository" : {
You can’t perform that action at this time.
0 commit comments