Skip to content

Merge pull request #382 from G-Core/dependabot/npm_and_yarn/packages/… #331

Merge pull request #382 from G-Core/dependabot/npm_and_yarn/packages/…

Merge pull request #382 from G-Core/dependabot/npm_and_yarn/packages/… #331

Workflow file for this run

name: Checks rtckit
on:
push:
branches:
- '**'
paths:
- 'packages/rtckit/package.json'
- 'packages/rtckit/package-lock.json'
jobs:
check-rtckit:
runs-on:
- ubuntu-latest
strategy:
matrix:
node-version: [22.x]
steps:
- uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
cache: "npm"
cache-dependency-path: package-lock.json
- name: Install dependencies
run: npm ci
- name: Check licenses
run: |
node_modules/.bin/license-checker \
--start packages/rtckit \
--onlyAllow "Apache-1.0;Apache-1.1;Apache-2.0;0BSD;BSD-2-Clause;BSD-3-Clause;ISC;MIT" \
--summary