Skip to content

Commit 2868d8c

Browse files
committed
Specified PNPM for github workflow
1 parent 4cca6c9 commit 2868d8c

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.github/workflows/deploy.yml

+5-5
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ on:
44
# Trigger the workflow every time you push to the `main` branch
55
# Using a different branch name? Replace `main` with your branch’s name
66
push:
7-
branches: [ main ]
7+
branches: [main]
88
# Allows you to run this workflow manually from the Actions tab on GitHub.
99
workflow_dispatch:
1010

@@ -22,10 +22,10 @@ jobs:
2222
uses: actions/checkout@v3
2323
- name: Install, build, and upload your site
2424
uses: withastro/action@v1
25-
# with:
25+
with:
26+
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)
27+
# node-version: 20 # The specific version of Node that should be used to build your site. Defaults to 18. (optional)
2628
# path: . # The root location of your Astro project inside the repository. (optional)
27-
# node-version: 18 # The specific version of Node that should be used to build your site. Defaults to 18. (optional)
28-
# 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)
2929

3030
deploy:
3131
needs: build
@@ -36,4 +36,4 @@ jobs:
3636
steps:
3737
- name: Deploy to GitHub Pages
3838
id: deployment
39-
uses: actions/deploy-pages@v1
39+
uses: actions/deploy-pages@v1

0 commit comments

Comments
 (0)