Skip to content

Commit

Permalink
Ci(fix): use pnpm instead of npm
Browse files Browse the repository at this point in the history
Maybe add it as an option? Setup as reusable workflow?
  • Loading branch information
Mara-Li committed May 28, 2024
1 parent 50aa503 commit 933b66d
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,14 @@ jobs:
token: ${{ secrets.GH_PAT }}
fetch-depth: 0 # Fetch all history for git info
submodules: "recursive"
- name: install pnpm
uses: pnpm/action-setup@v4
with:
version: latest
- uses: actions/setup-node@v4
with:
node-version: 18.14
cache: 'pnpm'
- name: Fetch submodules
continue-on-error: true
run: |
Expand All @@ -38,7 +43,7 @@ jobs:
git commit -am "chore (update): fetch submodule"
git push
- name: Install Dependencies
run: npm ci
run: pnpm install
- name: Build Quartz
run: npx quartz build
- name: Upload artifact
Expand Down

0 comments on commit 933b66d

Please sign in to comment.