From 6e695294c77e1cc3ce3c3c99adcc422d526f63df Mon Sep 17 00:00:00 2001 From: Nicolas Lebrun Date: Fri, 26 Apr 2024 21:58:53 +0200 Subject: [PATCH] Update demo.yml --- .github/workflows/demo.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/demo.yml b/.github/workflows/demo.yml index df15d85..438a973 100644 --- a/.github/workflows/demo.yml +++ b/.github/workflows/demo.yml @@ -1,4 +1,4 @@ -# Simple workflow for deploying static content to GitHub Pages + # Simple workflow for deploying static content to GitHub Pages name: Deploy static content to Pages on: @@ -31,21 +31,21 @@ jobs: - name: Checkout uses: actions/checkout@v4 - name: Set up Node - uses: actions/setup-node@v4.0.2 + uses: actions/setup-node@v4 with: - node-version: 18 + node-version: 20 cache: 'npm' - name: Install dependencies run: npm install - name: Build run: npm run demo:build - name: Setup Pages - uses: actions/configure-pages@v5.0.0 + uses: actions/configure-pages@v4 - name: Upload artifact - uses: actions/upload-pages-artifact@v2 + uses: actions/upload-pages-artifact@v3 with: # Upload dist repository path: './demo/dist' - name: Deploy to GitHub Pages id: deployment - uses: actions/deploy-pages@v4.0.5 + uses: actions/deploy-pages@v4