chore: use `packageManager` field

pull/635/head
Anthony Fu 3 years ago
parent b198380618
commit 0587d0b78a

@ -10,15 +10,13 @@ jobs:
node-version: [14, 16] node-version: [14, 16]
steps: steps:
- name: Checkout - name: Checkout
uses: actions/checkout@v2 uses: actions/checkout@v3
- name: Install pnpm - name: Install pnpm
uses: pnpm/action-setup@v2.0.1 uses: pnpm/action-setup@v2
with:
version: 6.15.1
- name: Set node version to ${{ matrix.node_version }} - name: Set node version to ${{ matrix.node_version }}
uses: actions/setup-node@v2 uses: actions/setup-node@v3
with: with:
node-version: ${{ matrix.node_version }} node-version: ${{ matrix.node_version }}
cache: 'pnpm' cache: 'pnpm'

@ -1,6 +1,7 @@
{ {
"name": "vitepress", "name": "vitepress",
"version": "0.22.4", "version": "0.22.4",
"packageManager": "pnpm@7.1.2",
"description": "Vite & Vue powered static site generator", "description": "Vite & Vue powered static site generator",
"main": "dist/node/index.js", "main": "dist/node/index.js",
"typings": "types/index.d.ts", "typings": "types/index.d.ts",

Loading…
Cancel
Save