Update dependency lint-staged to v14 - autoclosed #1250
Workflow file for this run
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
# SPDX-License-Identifier: MIT | |
name: NPM License Checker | |
on: | |
push: | |
paths: | |
- "package.json" | |
- "pnpm-lock.yaml" | |
pull_request: | |
permissions: | |
contents: read | |
jobs: | |
license-check: | |
name: License Check | |
runs-on: ubuntu-20.04 | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: pnpm/action-setup@v2 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: 16 | |
cache: pnpm | |
- run: pnpm install | |
- name: check | |
run: | | |
! pnpm dlx license-checker --production --csv | grep -i gpl |