Skip to content

Commit

Permalink
Update minimum support Node version
Browse files Browse the repository at this point in the history
  • Loading branch information
otoyo committed Jan 8, 2025
1 parent 734c758 commit cb4c64d
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/format.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:

- uses: actions/setup-node@v4
with:
node-version: 18.x
node-version: 20.x

- name: Run format
run: npm run format
Expand Down
6 changes: 3 additions & 3 deletions README.ja.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,12 +65,12 @@ astro-notion-blog を使えば [Notion](https://www.notion.so) で書けるブ
10. 「ビルドの設定」で、
1. 「フレームワーク プリセット」で Astro を選択します
2. 「環境変数(アドバンスド)」 を開き `NODE_VERSION`, `NOTION_API_SECRET`, `DATABASE_ID` の 3 つを設定します
- `NODE_VERSION``v18.16.0` かそれ以上を指定します
- `NODE_VERSION``20.18.1` かそれ以上を指定します
- 詳しくは [How to deploy a site with Git](https://docs.astro.build/en/guides/deploy/cloudflare/#how-to-deploy-a-site-with-git) をご覧ください

<img src="https://user-images.githubusercontent.com/1063435/213967111-72ea2ad1-ad3b-4629-8b65-7b25bc6ddb31.png" width="400">

<img src="https://github.com/otoyo/astro-notion-blog/assets/1063435/17ecdc09-c0f8-4332-8b87-04f4b2ffafce" width="600">
<img src="https://github.com/user-attachments/assets/548a57eb-a152-4a56-8bf9-0853c76638a8" width="600">

11. "Save and Deploy" をクリックし、デプロイが完了すると Notion Blog が見えるようになります

Expand All @@ -81,7 +81,7 @@ Cloudflare Pages のダッシュボードから手動でデプロイするか、

### 追加の必要要件

- Node.js v18.14.1 かそれ以上
- Node.js v20.18.1 かそれ以上
- Git

### ステップ
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,12 +60,12 @@ astro-notion-blog enables you to create a blog using [Notion](https://www.notion
10. In "Build settings" section,
1. Select "Astro" as "Framework preset"
2. Open "Environment Variables (advanced)" and set `NODE_VERSION`, `NOTION_API_SECRET` and `DATABASE_ID`
- `NODE_VERSION` is `v18.16.0` or higher
- `NODE_VERSION` is `20.18.1` or higher
- [How to deploy a site with Git](https://docs.astro.build/en/guides/deploy/cloudflare/#how-to-deploy-a-site-with-git) is helpful

<img src="https://user-images.githubusercontent.com/1063435/213967061-06f488fe-0b42-40a5-8f19-ac441f0168ff.png" width="400">

<img src="https://github.com/otoyo/astro-notion-blog/assets/1063435/bc1ceef1-d67a-490b-b465-34af1b0f8010" width="600">
<img src="https://github.com/user-attachments/assets/34fa8e2e-db34-40d3-87a6-acdb0d4e66db" width="600">

11. After clicking the 'Save and Deploy' button, your Notion Blog will be published once the deployment process is complete.

Expand All @@ -75,7 +75,7 @@ Please note that the astro-notion-blog requires manual deployment every time you

### Additional requirements

- Node.js v18.14.1 or higher
- Node.js v20.18.1 or higher

### Steps

Expand Down

0 comments on commit cb4c64d

Please sign in to comment.