diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index cc10ecc..334d28a 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -16,10 +16,20 @@ jobs: steps: - name: Checkout your repository using git uses: actions/checkout@v4 + + - name: Set Node.js 20.x + uses: actions/setup-node@v4 + with: + node-version: 20.x + + - name: Enable corepack + run: corepack enable + - name: Install, build, and upload your site output uses: withastro/action@v2 with: node-version: 20 + package-manager: yarn@latest deploy: needs: build