diff options
author | Gar <gar+gh@danger.computer> | 2021-11-03 16:57:56 +0300 |
---|---|---|
committer | Gar <gar+gh@danger.computer> | 2021-11-03 17:09:16 +0300 |
commit | f7a8118c79b5c8d5b69c47c1bdeafe472cff06c6 (patch) | |
tree | 52b6f2b28c1017bfe4c7ee0e96164c472444408f /.github | |
parent | ef45b7b1da17ada8faa2e6d72aa9d81a40aaf8c3 (diff) |
chore: limit CI builds
We don't need duplicate builds on pull requests and pushes. This should
cut our actions essentially down to half of what they are now.
PR-URL: https://github.com/npm/cli/pull/3981
Credit: @wraithgar
Close: #3981
Reviewed-by: @darcyclarke
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/ci.yml | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index c99b7dee3..5a13cadb0 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -1,7 +1,13 @@ name: Node CI -on: [push, pull_request] - +on: + pull_request: + branches: + - '*' + push: + branches: + - release-next + - latest jobs: lint: runs-on: ubuntu-latest |