Skip to content

fix(deps): update dependency markdown-it to v14 [security] #2231

fix(deps): update dependency markdown-it to v14 [security]

fix(deps): update dependency markdown-it to v14 [security] #2231

name: License Scanning for Node.js
permissions:
contents: read
on:
schedule:
- cron: '0 8,18 * * 1-5'
push:
paths:
- '**/package-json.lock'
- '**/package.json'
- '.github/workflows/license-scanning-node.yml'
jobs:
scan:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: ['22.x']
module-folder: ['cli', 'docs', 'shared']
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@6044e13b5dc448c55e2357c09f80417699197238 # v6
with:
node-version: ${{ matrix.node-version }}
- run: npm install --omit=dev --ignore-scripts
working-directory: ${{ matrix.module-folder }}
- run: npm install -g node-license-validator
working-directory: ${{ matrix.module-folder }}
- run: node-license-validator . --allow-licenses Apache-2.0 MIT BSD-2-Clause BSD BSD-3-Clause Unlicense ISC
working-directory: ${{ matrix.module-folder }}