From dd887a053c9977a8ea3afe6364a3ddd2a7e411dc Mon Sep 17 00:00:00 2001 From: Mauko Quiroga Date: Wed, 31 Jul 2024 21:01:13 +0200 Subject: [PATCH] ci: add yarn --- .github/workflows/deploy.yml | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index cc10ecc..2a62ea7 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -16,10 +16,15 @@ jobs: steps: - name: Checkout your repository using git uses: actions/checkout@v4 - - name: Install, build, and upload your site output + + - name: Set node + uses: actions/setup-node@v4 + + - name: Set yarn + run: corepack enable + + - name: Install, build, and upload the site uses: withastro/action@v2 - with: - node-version: 20 deploy: needs: build @@ -30,4 +35,4 @@ jobs: steps: - name: Deploy to GitHub Pages id: deployment - uses: actions/deploy-pages@v1 + uses: actions/deploy-pages@v4