From a0a5c5ed810978837b29c10d6f6b18fd633d91b2 Mon Sep 17 00:00:00 2001 From: Prayag Prajapati Date: Mon, 25 Sep 2023 22:20:54 +0530 Subject: [PATCH] Update build.yml --- .github/workflows/build.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 7952edc..39a4396 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -32,12 +32,6 @@ jobs: uses: swatinem/rust-cache@v2 with: workspaces: "./src-tauri -> target" - - - name: Sync node version and setup cache - uses: actions/setup-node@v3 - with: - node-version: "lts/*" - cache: "pnpm" # Set this to npm, yarn or pnpm. - uses: pnpm/action-setup@v2 name: Install pnpm @@ -57,6 +51,12 @@ jobs: key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }} restore-keys: | ${{ runner.os }}-pnpm-store- + + - name: Sync node version and setup cache + uses: actions/setup-node@v3 + with: + node-version: "lts/*" + cache: "pnpm" # Set this to npm, yarn or pnpm. - name: Install app dependencies and build web # Remove `&& yarn build` if you build your frontend in `beforeBuildCommand`