@@ -60,37 +60,37 @@ jobs:
6060 - name : Install dependencies
6161 run : pnpm install --frozen-lockfile
6262
63- # - name: Set timestamp version
64- # if: ${{ env.SET_TIMESTAMP_VERSION == 'true' }}
65- # run: pnpx ts-node tools/scripts/set-timestamp-version
66-
67- # - name: Build npm packages
68- # env:
69- # BUILD_INTERNAL_PACKAGE: true
70- # run: pnpm run all:build
71-
72- # - name: Clone deps scanner
73- # uses: actions/checkout@v4
74- # with:
75- # repository: DevExpress/npmdeps-scanner
76- # token: ${{ secrets.NPM_DEPS_SCANNER_PAT }}
77- # path: deps-scanner
78-
79- # - name: Build deps scanner
80- # working-directory: deps-scanner
81- # run: dotnet build npmDepsScanner.csproj /p:Configuration=Release
82-
83- # - name: Run deps scanner
84- # run: |
85- # ./deps-scanner/bin/Release/npmDepsScanner.exe scan_cache ${{ github.workspace }} reportGithub.json
86- # mkdir -p ./artifacts/deps-scanner
87- # cp reportGithub.json ./artifacts/deps-scanner/
63+ - name : Set timestamp version
64+ if : ${{ env.SET_TIMESTAMP_VERSION == 'true' }}
65+ run : pnpx ts-node tools/scripts/set-timestamp-version
66+
67+ - name : Build npm packages
68+ env :
69+ BUILD_INTERNAL_PACKAGE : true
70+ run : pnpm run all:build
71+
72+ - name : Clone deps scanner
73+ uses : actions/checkout@v4
74+ with :
75+ repository : DevExpress/npmdeps-scanner
76+ token : ${{ secrets.NPM_DEPS_SCANNER_PAT }}
77+ path : deps-scanner
78+
79+ - name : Build deps scanner
80+ working-directory : deps-scanner
81+ run : dotnet build npmDepsScanner.csproj /p:Configuration=Release
82+
83+ - name : Run deps scanner
84+ run : |
85+ ./deps-scanner/bin/Release/npmDepsScanner.exe scan_cache ${{ github.workspace }} reportGithub.json
86+ mkdir -p ./artifacts/deps-scanner
87+ cp reportGithub.json ./artifacts/deps-scanner/
8888
8989 - name : Build SBOMs
9090 env :
9191 NODE_AUTH_TOKEN : ${{ secrets.GITHUB_TOKEN }}
9292 run : |
93- pnpm set //npm.pkg.github.com/:_authToken " $env:NODE_AUTH_TOKEN" ;
93+ pnpm set //npm.pkg.github.com/:_authToken $env:NODE_AUTH_TOKEN;
9494 pnpm nx build sbom;
9595
9696 - name : Build artifacts package
0 commit comments