Bump @jupyterlab/notebook from 4.5.7 to 4.6.0 in /js #110
Workflow file for this run
This file contains hidden or 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: License Scanning | |
| on: | |
| push: | |
| paths: | |
| - 'js/package.json' | |
| - 'js/yarn.lock' | |
| - '.github/workflows/license-scanning.yml' | |
| - 'pyproject.toml' | |
| env: | |
| ALLOW_LICENSES: "MIT;Apache License 2.0" | |
| jobs: | |
| license-scan: | |
| name: license-scan | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v7 | |
| - uses: actions-ext/node/setup@main | |
| with: | |
| version: 22.x | |
| - name: Build node using pnpm | |
| run: pnpm install --production --frozen-lockfile | |
| working-directory: js | |
| - name: Install node-license-validator | |
| run: npm install -g node-license-validator | |
| working-directory: js | |
| - name: Run node-license-validator | |
| run: node-license-validator . --allow-licenses Apache-2.0 MIT BSD-2-Clause BSD BSD-3-Clause Unlicense ISC | |
| working-directory: js | |
| - name: Use Python 3.11 | |
| uses: actions/setup-python@v6 | |
| with: | |
| python-version: "3.11" | |
| - name: Install pip-licenses | |
| run: pip3 install pip-licenses | |
| - name: Run pip-licenses | |
| run: pip-licenses --allow-only="${{ env.ALLOW_LICENSES }}" # --ignore-packages="${{ env.IGNORE_PACKAGES }}" |