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/examples/config-store-example/package.json b/theia/examples/config-store-example/package.json index 671cdc7a..b42cc3c2 100644 --- a/theia/examples/config-store-example/package.json +++ b/theia/examples/config-store-example/package.json @@ -21,7 +21,8 @@ "clean": "rimraf lib", "build": "tsc", "lint": "eslint -c ../../.eslintrc.js --ext .ts ./src", - "watch": "tsc -w" + "watch": "tsc -w", + "license:check": "npx dash-licenses-wrapper --configFile=./configs/license-check-config.json" }, "theiaExtensions": [ {