From f7a8118c79b5c8d5b69c47c1bdeafe472cff06c6 Mon Sep 17 00:00:00 2001 From: Gar Date: Wed, 3 Nov 2021 06:57:56 -0700 Subject: 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 --- .github/workflows/ci.yml | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to '.github') 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 -- cgit v1.2.3