From d96b7b52974f3cd88775b59d642e3e0f7ac7e51d Mon Sep 17 00:00:00 2001 From: bluecco Date: Wed, 18 Dec 2024 13:42:03 +0100 Subject: [PATCH] chore: use sepolia-web for e2e webwallet --- .github/workflows/pull-request.yml | 26 ++++++++++++++++++++------ 1 file changed, 20 insertions(+), 6 deletions(-) diff --git a/.github/workflows/pull-request.yml b/.github/workflows/pull-request.yml index 04b2ded..d25a828 100644 --- a/.github/workflows/pull-request.yml +++ b/.github/workflows/pull-request.yml @@ -80,24 +80,38 @@ jobs: EMAIL_PASSWORD: ${{ secrets.EMAIL_PASSWORD }} steps: - - uses: actions/checkout@v4 + - name: Checkout code + uses: actions/checkout@v4 + with: + fetch-depth: 0 - - name: Install dependencies - run: pnpm install + - uses: pnpm/action-setup@v4 + name: Install pnpm + with: + run_install: false + version: ${{ env.PNPM_VERSION }} - uses: actions/setup-node@v4 with: node-version: ${{ env.NODE_VERSION }} cache: "pnpm" - - name: Restore pnpm cache - uses: actions/cache/restore@v4 + - name: Get pnpm store directory + shell: bash + run: | + echo "STORE_PATH=$(pnpm store path --silent)" >> $GITHUB_ENV + + - uses: actions/cache@v4 + name: Setup pnpm cache with: - path: ~/.pnpm-store + path: ${{ env.STORE_PATH }} key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }} restore-keys: | ${{ runner.os }}-pnpm-store- + - name: Install dependencies + run: pnpm install + - name: Build demo-dapp-starknet run: NEXT_PUBLIC_ARGENT_WEBWALLET_URL=https://sepolia-web.argent.xyz && pnpm run build