diff --git a/.github/workflows/gh-pages.yml b/.github/workflows/gh-pages.yml index c6081695..5f09d683 100644 --- a/.github/workflows/gh-pages.yml +++ b/.github/workflows/gh-pages.yml @@ -12,6 +12,9 @@ jobs: - uses: actions/checkout@v3 with: lfs: true + - uses: pnpm/action-setup@v2 + with: + version: 8.10.0 - name: Install Node uses: actions/setup-node@v3 @@ -19,14 +22,11 @@ jobs: node-version: 20 cache: 'pnpm' # Cache pnpm modules - - name: Install pnpm - run: npm install -g pnpm@^8.9.2 - - name: Install Dependencies - run: pnpm install --frozen-lockfile + run: pnpm install - name: Build Docs - run: pnpm run dev:build + run: pnpm run build - name: Deploy Docs uses: peaceiris/actions-gh-pages@v3 diff --git a/package.json b/package.json index 645a77de..45e9e0f3 100644 --- a/package.json +++ b/package.json @@ -15,8 +15,5 @@ "vitepress": "1.0.0-rc.24", "vue": "^3.3.7", "vuepress-plugin-glossary": "^1.0.2" - }, - "devDependencies": { - "@types/node": "latest" } }