diff --git a/.github/workflows/deploy-to-github-pages.yml b/.github/workflows/deploy-to-github-pages.yml index b3a5062..6b3d422 100644 --- a/.github/workflows/deploy-to-github-pages.yml +++ b/.github/workflows/deploy-to-github-pages.yml @@ -11,7 +11,7 @@ jobs: fail-fast: false matrix: node: - - "16" + - "20" platform: - ubuntu-latest @@ -25,18 +25,16 @@ jobs: git config --global user.name "BaboonKing" git config --global user.email "changfan.xu.up@qq.com" - name: Checkout Commit - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Install pnpm - uses: pnpm/action-setup@v2.2.4 + uses: pnpm/action-setup@v3.0.0 with: - version: next-7 + version: 8 - name: Setup Node - uses: actions/setup-node@v3 + uses: actions/setup-node@v4.0.2 with: node-version: ${{ matrix.node }} cache: "pnpm" - - name: Install npm@7 - run: npm add --global npm@7 - name: pnpm install run: pnpm install - name: Audit @@ -44,6 +42,6 @@ jobs: - name: Build run: pnpm build --base=/grays/ - name: Deploy 🚀 - uses: JamesIves/github-pages-deploy-action@v4 + uses: JamesIves/github-pages-deploy-action@v4.5.0 with: folder: dist