Skip to content

Commit

Permalink
Test custom bundler scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
alexslavr committed Jan 16, 2025
1 parent 120b35d commit 16eb795
Showing 1 changed file with 26 additions and 1 deletion.
27 changes: 26 additions & 1 deletion .github/workflows/build_all.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,9 +49,34 @@ jobs:
run: pnpm run all:build

- name: Copy build artifacts
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: devextreme-npm-packages
path: |
artifacts/npm/*.tgz
retention-days: 1

custom_bundles:
runs-on: devextreme-shr2
needs: build

steps:
- name: Download npm packages
uses: actions/download-artifact@v4
with:
name: devextreme-npm-packages
path: npm

- name: Move devextreme package
run: mv ./npm/devextreme-2*.tgz ./devextreme.tgz

- name: Setup deps
run: |
npm init -y
npm i webpack terser-webpack-plugin
npm i ./devextreme.tgz
- name: Build bundle
run: |
npx devextreme-bundler-init custom-bundle
npx devextreme-bundler custom-bundle

0 comments on commit 16eb795

Please sign in to comment.