diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index faf06d2241..55fc3a417e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -527,11 +527,17 @@ jobs: echo "clean=false" >> $GITHUB_OUTPUT fi + - name: Use Node.js + uses: actions/setup-node@v6 + with: + cache: yarn + node-version-file: .node-version + - name: Build website if: steps.diffcheck.outputs.clean == 'false' run: | - npm ci - npm run build + yarn + yarn build - name: Commit and push if: ${{ steps.diffcheck.outputs.clean == 'false' && startsWith(github.ref, 'refs/tags/v') }}