Swap pnpm to npm

pull/1/head
Zakhar Timoshenko 3 years ago
parent fba5605438
commit f8bef28292

@ -15,10 +15,10 @@ jobs:
- uses: actions/setup-node@v3
with:
node-version: 18
cache: pnpm
- run: pnpm i --frozen-lockfile
cache: npm
- run: npm i --frozen-lockfile
- name: Build
run: pnpm run build
run: npm run build
env:
NODE_OPTIONS: "--max_old_space_size=4096"
- uses: easingthemes/ssh-deploy@main

@ -14,10 +14,8 @@
}
],
"scripts": {
"preinstall": "npx only-allow pnpm",
"test": "pnpm lint && pnpm build && pnpm preview",
"dev": "vitepress dev",
"build": "vitepress build",
"build": "node --max_old_space_size=4096 ./node_modules/vitepress/bin/vitepress.js build",
"preview": "vitepress preview",
"lint": "markdownlint **/*.md --disable MD045"
},

Loading…
Cancel
Save