Skip to content

Commit

Permalink
chore: update ci
Browse files Browse the repository at this point in the history
  • Loading branch information
ElMassimo committed Nov 10, 2024
1 parent 8ba0c3f commit 0d326d8
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,13 +22,13 @@ jobs:
lfs: true

- name: Use Node.js
uses: actions/setup-node@v1
uses: actions/setup-node@v4
with:
node-version: 16.x
node-version: 20.x

- uses: pnpm/action-setup@v2.0.1
- uses: pnpm/action-setup@v4
with:
version: 7.4.1
version: 9.8.0
run_install: |
- recursive: false
Expand Down Expand Up @@ -59,11 +59,11 @@ jobs:
- uses: actions/checkout@v2

- name: Use Node.js
uses: actions/setup-node@v1
uses: actions/setup-node@v4
with:
node-version: 16.x
node-version: 20.x

- uses: pnpm/action-setup@v2.0.1
- uses: pnpm/action-setup@v4
with:
version: 7.4.1
run_install: |
Expand Down
6 changes: 3 additions & 3 deletions docs/src/pages/guide/deployment.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ To deploy in Cloudflare Pages, you will need to [create a project](https://devel
- __Output Directory__: <kbd>dist</kbd>

Additionally, since the default version of node is `12.18.0`, you will need to
set the `NODE_VERSION` environment variable to `14.18.1` or higher.
set the `NODE_VERSION` environment variable to `20` or higher.

## Netlify <NetlifyLogo/>

Expand All @@ -51,7 +51,7 @@ Add a `netlify.toml` file to your project:
command = "npm run build"

[build.environment]
NODE_VERSION = "16"
NODE_VERSION = "20"
# NPM_FLAGS = "--version" # uncomment if using pnpm to skip npm install
```

Expand Down Expand Up @@ -94,7 +94,7 @@ jobs:
- name: Use Node.js
uses: actions/setup-node@v1
with:
node-version: 16.x
node-version: 20.x

- uses: pnpm/action-setup@v1.2.1
with:
Expand Down

0 comments on commit 0d326d8

Please sign in to comment.