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