Skip to content

Commit 13aacce

Browse files
committed
feature(ci): release workflow only runs on non-draft pull requests
1 parent 7174693 commit 13aacce

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/tests-release.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,11 @@ on:
55
branches:
66
- release-* # all release-<version> branches
77
pull_request:
8+
types: [review_requested, ready_for_review] # only non-draft PR
89
branches:
910
- release-* # all release-<version> branches
1011

12+
1113
jobs:
1214
# STEP 1 - NPM Audit
1315

@@ -27,7 +29,7 @@ jobs:
2729
uses: actions/setup-node@v1
2830
with:
2931
node-version: 12
30-
- run: npm audit
32+
- run: npm audit --production # no audit for dev dependencies
3133

3234
# STEP 2 - basic unit tests
3335

0 commit comments

Comments
 (0)