From d84f203c4cb04aab7a024b32fee3da837469ab02 Mon Sep 17 00:00:00 2001 From: fwio <624835339@qq.com> Date: Fri, 1 Sep 2023 02:16:18 +0800 Subject: [PATCH] ci: specify package manager --- .github/workflows/deploy.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 1cdfa46..476327b 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -22,10 +22,10 @@ jobs: uses: actions/checkout@v3 - name: Install, build, and upload your site uses: withastro/action@v0 - # with: - # path: . # The root location of your Astro project inside the repository. (optional) - # node-version: 16 # The specific version of Node that should be used to build your site. Defaults to 16. (optional) - # package-manager: yarn # The Node package manager that should be used to install dependencies and build your site. Automatically detected based on your lockfile. (optional) + with: + # path: . # The root location of your Astro project inside the repository. (optional) + package-manager: pnpm + pnpm-version: 8.x.x # If `package-manager` is set to `pnpm`, use this specific version. Defaults to `7.x.x`. (optional) deploy: needs: build