Update packages #28
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: License | |
on: [push, pull_request] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node-version: [23.x] | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Use Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v4 | |
with: | |
node-version: ${{ matrix.node-version }} | |
- name: Install NPM License Checker | |
run: npm install -g license-checker | |
- name: Install Packages | |
run: npm install | |
- name: License | |
run: license-checker --json --out license.json | |
- name: Upload Build as Artifact | |
uses: actions/upload-artifact@v4 | |
with: | |
name: license.json | |
path: license.json |