Skip to content

Commit 5291d22

Browse files
committed
make publish workflow react on release type "released"
1 parent 61eb988 commit 5291d22

File tree

3 files changed

+9
-1
lines changed

3 files changed

+9
-1
lines changed

.github/workflows/ci-dev.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,10 @@
1+
# https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions
12
# This workflow will protect the main branch by testing and linting new PRs and commits
23

34
name: CI Dev
45

6+
# https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows#push
7+
# https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows#pull_request
58
on:
69
push:
710
branches:

.github/workflows/ci-main.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,10 @@
1+
# https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions
12
# This workflow will protect the main branch by testing and linting new PRs and commits
23

34
name: CI Main
45

6+
# https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows#push
7+
# https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows#pull_request
58
on:
69
push:
710
branches:

.github/workflows/publish.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,12 @@
1+
# https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions
12
# This workflow will publish any new release to the npmjs registry
23

34
name: Publish
45

6+
# https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows#release
57
on:
68
release:
7-
types: [created]
9+
types: [released]
810

911
jobs:
1012
publish:

0 commit comments

Comments
 (0)