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:
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/ci.yml12
1 files changed, 8 insertions, 4 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index a7edd82e3..b79f775d3 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -37,16 +37,18 @@ jobs:
- name: Install dependencies
run: node . install
- # Run the tests
+ # Run the tests, but not if we're just gonna do coveralls later anyway
- name: Run Tap tests
- run: node . test -- -t600 -Rclassic -c
+ if: matrix.platform.os != 'ubuntu-latest' || matrix.node-version != '12.x'
+ run: node . test -- -t600 -Rbase -c
env:
DEPLOY_VERSION: testing
# Run coverage check
- name: Run coverage report
- if: matrix.os == 'ubuntu-latest' && matrix.node-version == '12.x'
- run: node . test -- -t600 -Rclassic -c
+ if: matrix.platform.os == 'ubuntu-latest' && matrix.node-version == '12.x'
+ # turn off --check-coverage until 100%, so CI failure is relevant
+ run: node . run check-coverage -- -t600 --no-check-coverage -Rbase -c
env:
DEPLOY_VERSION: testing
COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_OPTIONAL_TOKEN }}
@@ -55,5 +57,7 @@ jobs:
# if: matrix.os == 'ubuntu-latest'
# run: sudo PATH=$PATH $(which node) . test -- --coverage --timeout 600
+ # no need to check licenses everywhere, they don't change between versions
- name: Validate licenses
+ if: matrix.os == 'ubuntu-latest' && matrix.node-version == '12.x'
run: node . run licenses