-
Set environment variable to skip the npm install phase:
NPM_FLAGS = --version
-
Set environment variable to use node.js v16 (CF Pages pipeline use v12 by default)
NODE_VERSION = 16
-
Set build command to (so pnpm’s store is cached too):
npx pnpm i --store=node_modules/.pnpm-store && npm run build
-
Notifications
You must be signed in to change notification settings - Fork 0
Cloudflare pages deployment with pnpm
playerx/cf-pnpm
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
Cloudflare pages deployment with pnpm
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published