From 292ac39328ea5b775f18129e2e4911e4fa1df007 Mon Sep 17 00:00:00 2001 From: Ronan Jouchet Date: Fri, 26 Feb 2021 22:19:45 -0500 Subject: [PATCH] CI: avoid npm funding messages --- .github/workflows/ci.yml | 5 +++-- .github/workflows/publish.yml | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index dd62dd6..b5f0f1b 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -25,8 +25,9 @@ jobs: uses: actions/setup-node@v1 with: node-version: ${{ matrix.node-version }} - - run: npm install # will also, through `prepare` hook, 1. install ./app, and 2. build - # Only run linter once, for faster CI. Align the verisons of Node here with above and publish.yml. + # Will also (through `prepare` hook): 1. install ./app, and 2. build + - run: npm install --no-fund + # Only run linter once, for faster CI. Align the versions of Node here with above and publish.yml. - if: matrix.platform == 'ubuntu-latest' && matrix.node-version == '14.x' run: npm run lint - run: npm test diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index be89262..f90d695 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -15,7 +15,7 @@ jobs: node-version: '14.x' registry-url: 'https://registry.npmjs.org' # Will also (through `prepare` hook): 1. install ./app, and 2. build - - run: npm install + - run: npm install --no-fund - run: npm test - run: npm run lint - run: npm publish