From 1bf2f6cb746866f4aa636a552d0b21be1bd0cdbb Mon Sep 17 00:00:00 2001 From: Alain Brenzikofer Date: Sat, 27 Apr 2024 15:32:49 +0200 Subject: [PATCH] use yarn instead --- .github/workflows/deploy.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index cff74da..5056f33 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -14,9 +14,10 @@ jobs: - uses: actions/setup-node@v3 with: node-version: "20" - # Pick your own package manager and build script - - run: npm install - - run: npx nuxt build --preset github_pages + - run: yarn install + - run: yarn run build + env: + NITRO_PRESET: github_pages - name: Upload artifact uses: actions/upload-pages-artifact@v1 with: