CI: avoid npm funding messages

This commit is contained in:
Ronan Jouchet 2021-02-26 22:19:45 -05:00
parent e03e07e4bd
commit 292ac39328
2 changed files with 4 additions and 3 deletions

View File

@ -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

View File

@ -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