diff --git a/.github/workflows/deploy-wallet-at-pr.yml b/.github/workflows/deploy-wallet-at-pr.yml index e6de23198d..364c17456b 100644 --- a/.github/workflows/deploy-wallet-at-pr.yml +++ b/.github/workflows/deploy-wallet-at-pr.yml @@ -22,6 +22,13 @@ jobs: - name: Checkout repository uses: actions/checkout@v2 + - name: Restore yarn cache + uses: actions/setup-node@v3 + with: + node-version: '18' + cache: 'yarn' + cache-dependency-path: '**/package-lock.json' + - name: Install dependencies run: yarn @@ -34,6 +41,13 @@ jobs: - name: Checkout repository uses: actions/checkout@v3 + - name: Restore yarn cache + uses: actions/setup-node@v3 + with: + node-version: '18' + cache: 'yarn' + cache-dependency-path: '**/package-lock.json' + - name: Install protoc run: sudo apt-get install -y protobuf-compiler @@ -72,6 +86,13 @@ jobs: - name: Checkout repository uses: actions/checkout@v2 + - name: Restore yarn cache + uses: actions/setup-node@v3 + with: + node-version: '18' + cache: 'yarn' + cache-dependency-path: '**/package-lock.json' + - name: Install protoc run: sudo apt-get install -y protobuf-compiler @@ -107,6 +128,13 @@ jobs: - name: Checkout repository uses: actions/checkout@v2 + - name: Restore yarn cache + uses: actions/setup-node@v3 + with: + node-version: '18' + cache: 'yarn' + cache-dependency-path: '**/package-lock.json' + - name: Install protoc run: sudo apt-get install -y protobuf-compiler @@ -158,9 +186,14 @@ jobs: working-directory: ./apps/namada-interface steps: - uses: actions/checkout@v2 - - uses: actions/setup-node@v2 + + - name: Restore yarn cache + uses: actions/setup-node@v3 with: - node-version: "18.x" + node-version: '18' + cache: 'yarn' + cache-dependency-path: '**/package-lock.json' + - name: Install wasm-pack uses: jetli/wasm-pack-action@v0.3.0 with: