Skip to content

get-licenses

get-licenses #1

Workflow file for this run

name: get-licenses
# Trigger this workflow by clicking the button in GitHub's web interface
on:
workflow_dispatch:
jobs:
get_spdx_licenses:
name: get-licenses
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Use latest LTS Node.js version
uses: actions/setup-node@v3
with:
node-version: lts/*
- name: Install runtime dependencies
run: npm install
- name: Transpile TypeScript code into JavaScript code
run: npm run build
- name: Get the list of licenses, print it here
run: npm run get-licenses | tail -n 1 | jq --indent 4 | sed 's/^/ /'