diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 5b6cfc0..06a4da6 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -28,17 +28,20 @@ jobs: url: ${{ steps.deployment.outputs.page_url }} runs-on: ubuntu-latest steps: - - name: Checkout - uses: actions/checkout@v4 - - name: Set up Node - uses: actions/setup-node@v4 + - uses: actions/checkout@v3 + - name: Install pnpm + uses: pnpm/action-setup@v2 + - name: Set node ${{ matrix.node }} + uses: actions/setup-node@v3 with: - node-version: 20 - cache: npm - - name: Install dependencies - run: npm ci + node-version: ${{ matrix.node }} + - name: Setup + run: npm i -g @antfu/ni + - name: Install + run: nci - name: Build - run: npm run build + run: nr build + - name: Setup Pages uses: actions/configure-pages@v4 - name: Upload artifact diff --git a/package.json b/package.json index 93cfa6e..8ca2cf7 100644 --- a/package.json +++ b/package.json @@ -2,6 +2,7 @@ "name": "mima-live", "type": "module", "version": "0.0.2", + "packageManager": "pnpm@9.12.2", "description": "An online cryptography tool based on mima-kit", "author": "RSoraM", "license": "MIT",