diff --git a/.github/workflows/static.yml b/.github/workflows/static.yml index b12e2c7..a25b377 100644 --- a/.github/workflows/static.yml +++ b/.github/workflows/static.yml @@ -4,7 +4,7 @@ name: Deploy static content to Pages on: # Runs on pushes targeting the default branch push: - branches: ["main"] + branches: ['main'] # Allows you to run this workflow manually from the Actions tab workflow_dispatch: @@ -18,7 +18,7 @@ permissions: # Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued. # However, do NOT cancel in-progress runs as we want to allow these production deployments to complete. concurrency: - group: "pages" + group: 'pages' cancel-in-progress: false jobs: @@ -33,8 +33,12 @@ jobs: uses: actions/checkout@v4 - name: Setup Pages uses: actions/configure-pages@v4 + - name: Use Node.js + uses: actions/setup-node@v3 + with: + node-version: '20.x' - run: npm ci - - run: npm build + - run: npm run build - name: Upload artifact uses: actions/upload-pages-artifact@v2 with: