浏览代码

meta: add version info in the bundlers CI (#4386)

Antoine du Hamel 2 年之前
父节点
当前提交
e6c9a4690c
共有 1 个文件被更改,包括 5 次插入0 次删除
  1. 5 0
      .github/workflows/bundlers.yml

+ 5 - 0
.github/workflows/bundlers.yml

@@ -85,6 +85,7 @@ jobs:
           npm i --save-dev
           @rollup/plugin-commonjs @rollup/plugin-node-resolve
           rollup@${{matrix.bundler-version}}
+      - run: 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 '<!doctype html><html><head><script type="module" src="./index.mjs"></script></head></html>' > 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