Bump vite from 4.5.2 to 4.5.5 in /wails-frontend #2505
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: e2e Tests | |
on: | |
push: | |
branches: [main] | |
pull_request: | |
jobs: | |
test-mode: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: ./.github/actions/install | |
- name: build | |
run: go build -tags desktop,production -ldflags "-w -s" -o build/test_wallet main.go | |
- name: Run app | |
run: WALLET_PASSWORD=bonjour STANDALONE=1 xvfb-run ./build/test_wallet & | |
- name: Move account file | |
run: | | |
mkdir -p ~/.config/massa-station-wallet | |
cp tests/wallet_bonjour.yaml ~/.config/massa-station-wallet/wallet_bonjour.yaml | |
- name: test wallet loaded | |
run: | | |
sleep 5 | |
NBWALLET=$(curl http://localhost:8080/api/accounts/ | jq '. | length') | |
if [[ "$NBWALLET" != "1" ]]; then | |
echo "wallet not loaded" | |
exit 1 | |
fi | |
- name: Delete Wallet | |
run: | | |
curl -X DELETE http://localhost:8080/api/accounts/bonjour | |
- name: test wallet delete | |
run: | | |
sleep 1 | |
NBWALLET=$(curl http://localhost:8080/api/accounts/ | jq '. | length') | |
if [[ "$NBWALLET" != "0" ]]; then | |
echo "wallet not deleted" | |
exit 1 | |
fi |