Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/npm/cli.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGar <gar+gh@danger.computer>2021-11-03 16:57:56 +0300
committerGar <gar+gh@danger.computer>2021-11-03 17:09:16 +0300
commitf7a8118c79b5c8d5b69c47c1bdeafe472cff06c6 (patch)
tree52b6f2b28c1017bfe4c7ee0e96164c472444408f /.github
parentef45b7b1da17ada8faa2e6d72aa9d81a40aaf8c3 (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.yml10
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