mirror of
https://github.com/Snigdha-OS/documentation.git
synced 2025-09-06 19:15:12 +02:00
🛠 refactor(npm): deprcate + pnpm add
This commit is contained in:
17
.github/workflows/deploy.yml
vendored
17
.github/workflows/deploy.yml
vendored
@@ -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
|
||||
|
Reference in New Issue
Block a user