Skip to content

Commit

Permalink
fix: Add .nvmrc to allow users to deploy on cloudflare pages (#269)
Browse files Browse the repository at this point in the history
This project can be hosted on cf pages, as the code in gh actions. The
problem is that the node version used in cf pages is not 20 which will
cause the deployment failing.

This PR adds a .nvmrc that specifies node version to 20, so cf pages can
be successfully deployed.

To deploy it:

1. Fork this repo
2. In cf pages, create a new project from forked repo
3. Choose framework "SvelteKit"
4. Click deploy

---------

Co-authored-by: Fernando Maclen <[email protected]>
  • Loading branch information
sainnhe and fmaclen authored Feb 22, 2025
1 parent c9ef7b3 commit e18b6f3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .nvmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
22.12.0

0 comments on commit e18b6f3

Please sign in to comment.