mirror of
https://github.com/transloadit/uppy.git
synced 2026-07-18 00:55:35 +00:00
meta: add version info in the bundlers CI (#4386)
This commit is contained in:
parent
643fd8d055
commit
e6c9a4690c
1 changed files with 5 additions and 0 deletions
5
.github/workflows/bundlers.yml
vendored
5
.github/workflows/bundlers.yml
vendored
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue