Skip to content

Commit faa2746

Browse files
authored
Clean up
1 parent 0798fb2 commit faa2746

File tree

1 file changed

+26
-26
lines changed

1 file changed

+26
-26
lines changed

.github/workflows/packages_publishing.yml

Lines changed: 26 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -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

Comments
 (0)