From 4097742fcfb1f3bd27f3fe7975bf56411920af30 Mon Sep 17 00:00:00 2001 From: ihoey Date: Thu, 7 Mar 2024 11:17:15 +0800 Subject: [PATCH] fix: only build workflows add node --- .github/workflows/deploy.yml | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 656fdbb..b8143aa 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -1,4 +1,7 @@ name: Only Build +branding: + icon: "arrow-up-right" + color: "purple" on: # Trigger the workflow every time you push to the `main` branch @@ -20,10 +23,19 @@ jobs: steps: - name: Checkout your repository using git uses: actions/checkout@v4 + - name: Setup PNPM uses: pnpm/action-setup@v2 with: - version: "18" + version: "latest" + + - name: Setup Node + uses: actions/setup-node@v4 + with: + node-version: 18 + cache: "pnpm" + cache-dependency-path: "pnpm-lock.yaml" + - name: Install shell: "bash" working-directory: "."