Update build.yml

This commit is contained in:
Prayag Prajapati authored and GitHub committed 2023-09-25 22:20:54 +05:30
1 parent 8443dc4d73
commit a0a5c5ed81
1 file changed
+6 -6
+6 -6
View File
@@ -33,12 +33,6 @@ jobs:
with: with:
workspaces: "./src-tauri -> target" 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 - uses: pnpm/action-setup@v2
name: Install pnpm name: Install pnpm
with: with:
@@ -58,6 +52,12 @@ jobs:
restore-keys: | restore-keys: |
${{ runner.os }}-pnpm-store- ${{ 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 - name: Install app dependencies and build web
# Remove `&& yarn build` if you build your frontend in `beforeBuildCommand` # Remove `&& yarn build` if you build your frontend in `beforeBuildCommand`
run: pnpm install && pnpm run build # Change this to npm, yarn or pnpm. run: pnpm install && pnpm run build # Change this to npm, yarn or pnpm.