[Snyk] Security upgrade npm-registry-fetch from 13.3.1 to 15.0.0 #645
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI - cli | |
on: | |
workflow_dispatch: | |
pull_request: | |
branches: | |
- '*' | |
push: | |
branches: | |
- latest | |
jobs: | |
lint: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Use Node.js 16.x | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 16.x | |
cache: npm | |
- run: node bin/npm-cli.js run resetdeps | |
- run: node bin/npm-cli.js run lint | |
check_docs: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Use Node.js 16.x | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 16.x | |
cache: npm | |
- run: make freshdocs | |
- run: node scripts/git-dirty.js | |
licenses: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Use Node.js 16.x | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 16.x | |
cache: npm | |
- run: node bin/npm-cli.js run resetdeps | |
- run: node bin/npm-cli.js run licenses | |
smoke-tests: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Use Node.js 16.x | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 16.x | |
cache: npm | |
- run: node bin/npm-cli.js run resetdeps | |
- run: node bin/npm-cli.js test -w smoke-tests --ignore-scripts | |
- name: git status | |
if: matrix.platform.os != 'windows-latest' | |
run: node scripts/git-dirty.js | |
test: | |
strategy: | |
fail-fast: false | |
matrix: | |
node-version: | |
- 12.13.0 | |
- 12.x | |
- 14.15.0 | |
- 14.x | |
- 16.0.0 | |
- 16.x | |
platform: | |
- os: ubuntu-latest | |
shell: bash | |
- os: macos-latest | |
shell: bash | |
- os: windows-latest | |
shell: cmd | |
runs-on: ${{ matrix.platform.os }} | |
defaults: | |
run: | |
shell: ${{ matrix.platform.shell }} | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Use Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v3 | |
with: | |
node-version: ${{ matrix.node-version }} | |
cache: npm | |
- run: node bin/npm-cli.js run resetdeps | |
- run: node bin/npm-cli.js run test --ignore-scripts | |
- name: git status | |
if: matrix.platform.os != 'windows-latest' | |
run: node scripts/git-dirty.js |