fix: Correction du chemin du dossier pkg/ dans la CI
Some checks failed
build-and-push-ext / build_push (push) Failing after 42s
Some checks failed
build-and-push-ext / build_push (push) Failing after 42s
- wasm-pack crée pkg/ dans le répertoire source (../sdk_client/pkg) - Ajout de la copie cp -r ../sdk_client/pkg ./pkg après le build - Le dossier pkg/ est maintenant au bon endroit pour le build TypeScript - Build project et Run tests peuvent maintenant s'exécuter correctement
This commit is contained in:
parent
ed265264d1
commit
fd592fab43
@ -47,7 +47,9 @@ jobs:
|
|||||||
git clone -b dev https://git.4nkweb.com/4nk/sdk_client.git ../sdk_client
|
git clone -b dev https://git.4nkweb.com/4nk/sdk_client.git ../sdk_client
|
||||||
|
|
||||||
- name: Build WebAssembly
|
- name: Build WebAssembly
|
||||||
run: npm run build_wasm
|
run: |
|
||||||
|
wasm-pack build --out-dir ./pkg ../sdk_client --target nodejs --dev
|
||||||
|
cp -r ../sdk_client/pkg ./pkg
|
||||||
|
|
||||||
- name: Build project
|
- name: Build project
|
||||||
run: npm run build
|
run: npm run build
|
||||||
|
Loading…
x
Reference in New Issue
Block a user