diff --git a/.github/dependabot.yml b/.github/dependabot.yml index 42adb44..91560a1 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -9,3 +9,7 @@ updates: directory: "/" schedule: interval: "weekly" + - package-ecosystem: "github-actions" + directory: "/" + schedule: + interval: "weekly" diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 0e020d0..a8893ee 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -26,10 +26,10 @@ jobs: steps: - name: Checkout repository - uses: actions/checkout@v4 + uses: actions/checkout@v7 - name: Setup Node.js - uses: actions/setup-node@v4 + uses: actions/setup-node@v7 with: node-version-file: ".nvmrc" cache: "npm" @@ -41,7 +41,7 @@ jobs: run: npm run build - name: Upload build artifacts - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v7 with: name: build path: build/ diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index 60a6c82..f1740a2 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -37,15 +37,15 @@ jobs: steps: - name: Checkout repository - uses: actions/checkout@v4 + uses: actions/checkout@v7 - name: Initialize CodeQL - uses: github/codeql-action/init@v3 + uses: github/codeql-action/init@v4 with: languages: ${{ matrix.language }} build-mode: ${{ matrix.build-mode }} - name: Perform CodeQL Analysis - uses: github/codeql-action/analyze@v3 + uses: github/codeql-action/analyze@v4 with: category: "/language:${{matrix.language}}" diff --git a/.github/workflows/notion-monitor.yml b/.github/workflows/notion-monitor.yml index 86ab8f7..b2b1ba7 100644 --- a/.github/workflows/notion-monitor.yml +++ b/.github/workflows/notion-monitor.yml @@ -15,7 +15,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout repository - uses: actions/checkout@v4 + uses: actions/checkout@v7 - name: Run monitor script id: monitor @@ -27,7 +27,7 @@ jobs: - name: Create or update issue if changes detected if: steps.monitor.outcome == 'failure' - uses: actions/github-script@v7 + uses: actions/github-script@v9 with: script: | const fs = require('fs'); @@ -88,13 +88,12 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout repository - uses: actions/checkout@v4 + uses: actions/checkout@v7 - name: Setup Node.js - uses: actions/setup-node@v4 + uses: actions/setup-node@v7 with: - # wrangler dev requires Node.js 22+ - node-version: 24 + node-version-file: ".nvmrc" cache: "npm" - name: Install dependencies @@ -115,7 +114,7 @@ jobs: - name: Create or update issue if rendering broke if: steps.render.outputs.exit_code == '1' - uses: actions/github-script@v7 + uses: actions/github-script@v9 with: script: | const fs = require('fs'); diff --git a/.nvmrc b/.nvmrc index 209e3ef..a45fd52 100644 --- a/.nvmrc +++ b/.nvmrc @@ -1 +1 @@ -20 +24 diff --git a/README.md b/README.md index d6121f5..610738a 100644 --- a/README.md +++ b/README.md @@ -70,7 +70,7 @@ The Notion client loads several hundred JS chunks and API calls from your domain ## Development ```bash -nvm use 20 +nvm use 24 npm install npm start # Development server npm run build # Production build diff --git a/package-lock.json b/package-lock.json index 4c83947..187a596 100644 --- a/package-lock.json +++ b/package-lock.json @@ -25,7 +25,7 @@ "wrangler": "^4.131.2" }, "engines": { - "node": ">=20.0.0" + "node": ">=22.12.0" } }, "node_modules/@babel/code-frame": { diff --git a/package.json b/package.json index d816f89..dce4a9d 100644 --- a/package.json +++ b/package.json @@ -10,7 +10,7 @@ ], "type": "module", "engines": { - "node": ">=20.0.0" + "node": ">=22.12.0" }, "dependencies": { "@emotion/react": "^11.14.0",