mirror of
https://github.com/lovell/sharp.git
synced 2025-07-09 10:30:15 +02:00
CI: Ensure Wasm packaging test uses Wasm package
This commit is contained in:
parent
0b0ebfe6f8
commit
9680f00ddd
1
.github/workflows/ci.yml
vendored
1
.github/workflows/ci.yml
vendored
@ -185,6 +185,7 @@ jobs:
|
|||||||
emmake npm run package-from-local-build
|
emmake npm run package-from-local-build
|
||||||
npm pkg set "optionalDependencies.@img/sharp-wasm32=file:./npm/wasm32"
|
npm pkg set "optionalDependencies.@img/sharp-wasm32=file:./npm/wasm32"
|
||||||
npm run clean
|
npm run clean
|
||||||
|
rm -r node_modules/@img/sharp-linux-x64
|
||||||
npm install --cpu=wasm32
|
npm install --cpu=wasm32
|
||||||
npm test
|
npm test
|
||||||
- name: Prebuild
|
- name: Prebuild
|
||||||
|
Loading…
x
Reference in New Issue
Block a user