Skip to content

Commit

Permalink
feat: migrate from npm to pnpm
Browse files Browse the repository at this point in the history
Update GitHub workflow config to use pnpm
Modify package.json to allow only pnpm on install
Add pnpm-lock.yaml for deterministic dependency resolution
Remove package-lock.json as it is no longer needed with pnpm
  • Loading branch information
itsTPM committed Mar 21, 2024
1 parent 376c117 commit 07336c7
Show file tree
Hide file tree
Showing 4 changed files with 1,470 additions and 2,561 deletions.
15 changes: 9 additions & 6 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,15 +30,18 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up Node
uses: actions/setup-node@v3
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: 18
cache: 'npm'
node-version: 'latest'
- name: Install pnpm
uses: pnpm/action-setup@v3
with:
version: 8
- name: Install dependencies
run: npm install
run: pnpm install
- name: Build
run: npm run build
run: pnpm run build
- name: Setup Pages
uses: actions/configure-pages@v3
- name: Upload artifact
Expand Down
Loading

0 comments on commit 07336c7

Please sign in to comment.