diff --git a/.github/workflows/eclipse-npm-license-check.yml b/.github/workflows/eclipse-npm-license-check.yml index b3a903ac..48868d98 100644 --- a/.github/workflows/eclipse-npm-license-check.yml +++ b/.github/workflows/eclipse-npm-license-check.yml @@ -42,7 +42,7 @@ jobs: distribution: "adopt" java-version: ${{ matrix.java }} - - name: Run dash-licenses + - name: Run node dash-licenses shell: bash run: | sudo apt-get install libsecret-1-dev @@ -51,3 +51,13 @@ jobs: npm run license:check env: DASH_TOKEN: ${{ secrets.DASH_LICENSES_PAT }} + + - name: Run theia dash-licenses + shell: bash + run: | + sudo apt-get install libsecret-1-dev + cd theia + yarn --frozen-lockfile --ignore-scripts + yarn license:check + env: + DASH_TOKEN: ${{ secrets.DASH_LICENSES_PAT }} diff --git a/theia/configs/license-check-config.json b/theia/configs/license-check-config.json index 32e10856..ca57c46b 100644 --- a/theia/configs/license-check-config.json +++ b/theia/configs/license-check-config.json @@ -1,7 +1,7 @@ { "project": "ecd.theia", "review": true, - "inputFile": "package-lock.json", + "inputFile": "yarn.lock", "batch": 50, "timeout": 200, "summary": "license-check-summary.txt", diff --git a/theia/configs/license-check-exclusions.json b/theia/configs/license-check-exclusions.json index 7a4db807..fde5a4b3 100644 --- a/theia/configs/license-check-exclusions.json +++ b/theia/configs/license-check-exclusions.json @@ -1,4 +1,4 @@ { - "npm/npmjs/-/landing-page/0.1.0": "Theia Cloud Internal Package", - "npm/npmjs/-/testing-page/0.1.0": "Theia Cloud Internal Package" + "npm/npmjs/-/browser-app/0.0.0": "Theia Cloud Internal Package", + "npm/npmjs/-/config-store-example/0.0.0": "Theia Cloud Internal Package" } diff --git a/theia/package.json b/theia/package.json index aed60a3f..6ddc3d30 100644 --- a/theia/package.json +++ b/theia/package.json @@ -15,7 +15,8 @@ "example-app": "yarn --cwd examples/browser-app", "lint": "lerna run lint", "start": "yarn example-app start", - "watch": "lerna run watch" + "watch": "lerna run watch", + "license:check": "npx dash-licenses-wrapper --configFile=./configs/license-check-config.json" }, "devDependencies": { "@eclipse-dash/nodejs-wrapper": "^0.0.1",