From 9f898ccff13e036e4be4960e58ddaf4f93f4166c Mon Sep 17 00:00:00 2001 From: Antoine du Hamel Date: Wed, 29 Mar 2023 11:26:16 +0200 Subject: [PATCH 1/2] meta: add version info in the bundlers CI --- .github/workflows/bundlers.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/bundlers.yml b/.github/workflows/bundlers.yml index 083c44d2f6..4ece2d54b8 100644 --- a/.github/workflows/bundlers.yml +++ b/.github/workflows/bundlers.yml @@ -85,6 +85,7 @@ jobs: npm i --save-dev @rollup/plugin-commonjs @rollup/plugin-node-resolve rollup@${{matrix.bundler-version}} + - name: npx rollup --version - name: Create Rollup config file run: >- echo ' @@ -120,6 +121,7 @@ jobs: run: tar -xzf /tmp/packages/uppy-${{ github.sha }}.tgz --strip-components 1 - name: Add Webpack as a dev dependency run: npm i --save-dev webpack-cli webpack@${{matrix.bundler-version}} + - run: npx webpack --version - name: Create Webpack config file run: echo 'module.exports={mode:"production",target:"web",entry:"./index.mjs"}' > webpack.config.js - name: Bundle @@ -150,6 +152,7 @@ jobs: EOF - name: Add Parcel as a dev dependency run: npm i --save-dev parcel@${{matrix.bundler-version}} + - run: npx parcel --version - name: Bundle run: npx parcel build index.mjs @@ -169,6 +172,7 @@ jobs: run: tar -xzf /tmp/packages/uppy-${{ github.sha }}.tgz --strip-components 1 - name: Add Vite as a dev dependency run: npm i --save-dev vite@${{matrix.bundler-version}} + - run: npx vite --version - name: Create index.html run: echo '' > index.html - name: Bundle @@ -190,6 +194,7 @@ jobs: run: tar -xzf /tmp/packages/uppy-${{ github.sha }}.tgz --strip-components 1 - name: Add ESBuild as a dev dependency run: npm i --save-dev esbuild@${{matrix.bundler-version}} + - run: npx esbuild --version - name: Bundle run: npx esbuild index.mjs --bundle --outfile=/dev/null From 45b98c7c14f1cc9b3e1c86b50a9f035103c4209a Mon Sep 17 00:00:00 2001 From: Antoine du Hamel Date: Wed, 29 Mar 2023 12:25:28 +0200 Subject: [PATCH 2/2] Update bundlers.yml --- .github/workflows/bundlers.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/bundlers.yml b/.github/workflows/bundlers.yml index 4ece2d54b8..7e9a4bdeac 100644 --- a/.github/workflows/bundlers.yml +++ b/.github/workflows/bundlers.yml @@ -85,7 +85,7 @@ jobs: npm i --save-dev @rollup/plugin-commonjs @rollup/plugin-node-resolve rollup@${{matrix.bundler-version}} - - name: npx rollup --version + - run: npx rollup --version - name: Create Rollup config file run: >- echo '