fix(astro.yml): specify pnpm in

This commit is contained in:
BuyMyMojo 2024-12-17 20:49:43 +11:00
parent 39ba8f4b26
commit 88def88e88

View file

@ -72,6 +72,11 @@ jobs:
run: wget https://github.com/shssoichiro/oxipng/releases/download/v9.1.3/oxipng_9.1.3-1_amd64.deb && sudo apt-get install -y ./oxipng_9.1.3-1_amd64.deb && rm ./oxipng_9.1.3-1_amd64.deb run: wget https://github.com/shssoichiro/oxipng/releases/download/v9.1.3/oxipng_9.1.3-1_amd64.deb && sudo apt-get install -y ./oxipng_9.1.3-1_amd64.deb && rm ./oxipng_9.1.3-1_amd64.deb
- name: Install, build, and upload your site - name: Install, build, and upload your site
uses: withastro/action@v2 uses: withastro/action@v2
with:
# path: . # The root location of your Astro project inside the repository. (optional)
# node-version: 20 # The specific version of Node that should be used to build your site. Defaults to 20. (optional)
package-manager: pnpm@latest # The Node package manager that should be used to install dependencies and build your site. Automatically detected based on your lockfile. (optional)
# - name: Build with Astro # - name: Build with Astro
# run: | # run: |
# ${{ steps.detect-package-manager.outputs.runner }} astro build \ # ${{ steps.detect-package-manager.outputs.runner }} astro build \