From b09c22160773d65d44c88bd34ebec82660ba97d2 Mon Sep 17 00:00:00 2001 From: Julian Fraser Date: Thu, 23 Apr 2026 09:26:35 -0400 Subject: [PATCH] ci: bump workflow actions to Node 24-compatible versions Updates actions/checkout and actions/setup-node to v6, and the Pages actions (upload-pages-artifact, deploy-pages) to v5 to clear the Node.js 20 deprecation warning emitted by GitHub Actions runners. --- .github/workflows/ci.yml | 4 ++-- .github/workflows/pages.yml | 8 ++++---- .github/workflows/publish.yml | 4 ++-- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 32de053..1357dcb 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -8,8 +8,8 @@ jobs: build-and-test: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 - - uses: actions/setup-node@v4 + - uses: actions/checkout@v6 + - uses: actions/setup-node@v6 with: node-version: '24' cache: 'npm' diff --git a/.github/workflows/pages.yml b/.github/workflows/pages.yml index 55625bf..d8abb63 100644 --- a/.github/workflows/pages.yml +++ b/.github/workflows/pages.yml @@ -20,10 +20,10 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v4 + uses: actions/checkout@v6 - name: Setup Node - uses: actions/setup-node@v4 + uses: actions/setup-node@v6 with: node-version: '24' cache: 'npm' @@ -41,7 +41,7 @@ jobs: --base-href /grapesjs-angular/ - name: Upload Pages artifact - uses: actions/upload-pages-artifact@v3 + uses: actions/upload-pages-artifact@v5 with: path: dist/demo/browser @@ -54,4 +54,4 @@ jobs: steps: - name: Deploy to GitHub Pages id: deployment - uses: actions/deploy-pages@v4 \ No newline at end of file + uses: actions/deploy-pages@v5 \ No newline at end of file diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 62f38f0..9d76f2f 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -10,8 +10,8 @@ jobs: contents: read id-token: write steps: - - uses: actions/checkout@v4 - - uses: actions/setup-node@v4 + - uses: actions/checkout@v6 + - uses: actions/setup-node@v6 with: node-version: '24' registry-url: 'https://registry.npmjs.org'