🛠 refactor(npm): deprcate + pnpm add

This commit is contained in:
Eshan Roy
2024-12-09 13:43:05 +05:30
parent 0388fabe58
commit d45f374bbb
2 changed files with 40 additions and 43 deletions

View File

@@ -18,17 +18,20 @@ jobs:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: actions/setup-node@v4
with:
node-version: 20
cache: npm
# Install pnpm
- name: Install pnpm
run: npm install -g pnpm
# Use pnpm to install dependencies
- name: Install dependencies
run: npm ci
run: pnpm install
- name: Install font-awesome
run: npm install --save font-awesome
run: pnpm add font-awesome
- name: Build documents
run: npm run build
run: pnpm run build
# Popular action to deploy to GitHub Pages:
# Docs: https://github.com/peaceiris/actions-gh-pages#%EF%B8%8F-docusaurus