chore: migrate from npm to pnpm

This commit is contained in:
2026-05-13 10:20:51 +07:00
parent ecd663ccc2
commit 77877b8dca
7 changed files with 1964 additions and 3821 deletions
+7 -4
View File
@@ -15,14 +15,17 @@ jobs:
steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v4
with:
version: 11
- uses: actions/setup-node@v4
with:
node-version: '24'
# TODO: add `cache: 'npm'` once package-lock.json is committed.
cache: 'pnpm'
- name: Install dependencies
# TODO: switch to `npm ci` once package-lock.json is committed.
run: npm install --no-audit --no-fund
run: pnpm install --frozen-lockfile
- name: Build
run: npm run build
run: pnpm build
+7 -4
View File
@@ -21,17 +21,20 @@ jobs:
steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v4
with:
version: 11
- uses: actions/setup-node@v4
with:
node-version: '24'
# TODO: add `cache: 'npm'` once package-lock.json is committed.
cache: 'pnpm'
- name: Install dependencies
# TODO: switch to `npm ci` once package-lock.json is committed.
run: npm install --no-audit --no-fund
run: pnpm install --frozen-lockfile
- name: Build
run: npm run build
run: pnpm build
env:
SITE_URL: https://tiennm99.github.io
SITE_BASE: /mathmax