diff --git a/.github/workflows/deploy-pages.yml b/.github/workflows/deploy-pages.yml index 5f78d432..be7d1956 100644 --- a/.github/workflows/deploy-pages.yml +++ b/.github/workflows/deploy-pages.yml @@ -15,30 +15,31 @@ jobs: runs-on: ubuntu-latest steps: - - name: Checkout repository + - name: Checkout uses: actions/checkout@v4 - - name: Set up Node.js - uses: actions/setup-node@v4 - with: - node-version: 20 - cache: 'pnpm' - - name: Install pnpm uses: pnpm/action-setup@v4 with: version: 8 + - name: Set up Node + uses: actions/setup-node@v4 + with: + node-version: 24 + cache: 'pnpm' + - name: Install dependencies run: pnpm install - - name: Build project + - name: Build run: pnpm run build-nocdn - - name: Upload GitHub Pages artifact + - name: Upload artifact uses: actions/upload-pages-artifact@v3 with: - path: ./dist + # Upload dist repository + path: './dist' deploy: needs: build