ci: upgrade pnpm version (#3895)

This commit is contained in:
三咲智子 2021-10-16 20:58:41 +08:00 committed by GitHub
parent cf112c5866
commit 647367e887
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
6 changed files with 12 additions and 12 deletions

View File

@ -24,10 +24,10 @@ jobs:
- name: Setup pnpm
uses: pnpm/action-setup@v2
with:
version: 6.15.1
version: latest
- name: Install dependencies
run: pnpm i
run: pnpm i --frozen-lockfile
- name: Fetch Crowdin token for pulling languages
run: pnpm docs:crowdin

View File

@ -21,10 +21,10 @@ jobs:
- name: Setup pnpm
uses: pnpm/action-setup@v2
with:
version: 6.15.1
version: latest
- name: Install dependencies
run: pnpm i
run: pnpm i --frozen-lockfile
- name: Generate common locale
run: pnpm docs:gen-locale

View File

@ -20,9 +20,9 @@ jobs:
- name: Setup pnpm
uses: pnpm/action-setup@v2
with:
version: 6.15.1
version: latest
- name: Install dependencies
run: pnpm i
run: pnpm i --frozen-lockfile
- name: Lint
run: pnpm lint
- name: Test
@ -40,7 +40,7 @@ jobs:
- name: Setup pnpm
uses: pnpm/action-setup@v2
with:
version: 6.15.1
version: latest
- name: Get version
run: echo "TAG_VERSION=${GITHUB_REF#refs/*/}" >> $GITHUB_ENV
- name: Get git head

View File

@ -22,10 +22,10 @@ jobs:
- name: Setup pnpm
uses: pnpm/action-setup@v2
with:
version: 6.15.1
version: latest
- name: Install dependencies
run: pnpm i
run: pnpm i --frozen-lockfile
- name: Compile Element Plus
run: pnpm build

View File

@ -21,14 +21,14 @@ jobs:
- name: Setup pnpm
uses: pnpm/action-setup@v2
with:
version: 6.15.1
version: latest
- name: Setup node
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}
cache: 'pnpm'
- name: Install dependencies
run: pnpm i
run: pnpm i --frozen-lockfile
- name: Lint
run: pnpm lint
- name: Test

View File

@ -2,7 +2,7 @@
set -e
pnpm i
pnpm i --frozen-lockfile
pnpm update:version
pnpm build