fix: Ajout des dépendances manquantes dans la CI
Some checks failed
build-and-push-ext / build_push (push) Failing after 44s
Some checks failed
build-and-push-ext / build_push (push) Failing after 44s
- Installation de Rust et wasm-pack - Configuration SSH pour cloner sdk_client - Build WebAssembly avant le build TypeScript - Toutes les étapes nécessaires pour reproduire l'environnement local
This commit is contained in:
parent
0a543a186c
commit
36c14652bc
@ -23,6 +23,29 @@ jobs:
|
|||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: npm ci --include=dev
|
run: npm ci --include=dev
|
||||||
|
|
||||||
|
- name: Setup Rust
|
||||||
|
uses: actions-rs/toolchain@v1
|
||||||
|
with:
|
||||||
|
toolchain: stable
|
||||||
|
components: rustfmt, clippy
|
||||||
|
|
||||||
|
- name: Install wasm-pack
|
||||||
|
run: curl https://rustwasm.github.io/wasm-pack/installer/init.sh -sSf | sh
|
||||||
|
|
||||||
|
- name: Setup SSH for git clone
|
||||||
|
run: |
|
||||||
|
mkdir -p ~/.ssh
|
||||||
|
echo "${{ secrets.SSH_PRIVATE_KEY }}" > ~/.ssh/id_rsa
|
||||||
|
chmod 600 ~/.ssh/id_rsa
|
||||||
|
ssh-keyscan git.4nkweb.com >> ~/.ssh/known_hosts
|
||||||
|
|
||||||
|
- name: Clone sdk_client
|
||||||
|
run: |
|
||||||
|
git clone -b dev git@git.4nkweb.com:4nk/sdk_client.git ../sdk_client
|
||||||
|
|
||||||
|
- name: Build WebAssembly
|
||||||
|
run: npm run build_wasm
|
||||||
|
|
||||||
- name: Build project
|
- name: Build project
|
||||||
run: npm run build
|
run: npm run build
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user