File tree Expand file tree Collapse file tree 2 files changed +32
-71
lines changed Expand file tree Collapse file tree 2 files changed +32
-71
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1717 with :
1818 ref : ${{ inputs.version }}
1919
20- - name : Build
21- uses : ./.github/actions/build
20+ - name : Setup Node.js
21+ uses : actions/setup-node@v4
22+ with :
23+ node-version : ' 18'
24+ cache : ' npm'
25+
26+ - name : Install dependencies
27+ run : npm ci
28+
29+ - name : Clean previous build
30+ run : npm run clean
31+
32+ - name : Build package
33+ run : npm run build
34+
35+ - name : Verify build artifacts
36+ run : |
37+ echo "Verifying build artifacts..."
38+ if [ ! -d "dist" ]; then
39+ echo "Error: dist directory not found"
40+ exit 1
41+ fi
42+ if [ ! -f "dist/dx-exceljs-fork.min.js" ]; then
43+ echo "Error: minified bundle not found"
44+ exit 1
45+ fi
46+ if [ ! -f "dist/dx-exceljs-fork.js" ]; then
47+ echo "Error: main bundle not found"
48+ exit 1
49+ fi
50+ echo "All build artifacts verified successfully"
2251
2352 - uses : actions/setup-node@v4
2453 with :
2857 - name : Publish to NPM
2958 env :
3059 NODE_AUTH_TOKEN : ${{ secrets.NPM_TOKEN }}
31- run : npm publish --access=public
32-
33- - name : Setup NPM tags
34- env :
35- NODE_AUTH_TOKEN : ${{ secrets.NPM_TOKEN }}
36- run : |
37- npm dist-tag add devextreme-exceljs-fork@${{ inputs.version }} 25_1
60+ run : npm publish
You can’t perform that action at this time.
0 commit comments