mirror of
https://gitee.com/element-plus/element-plus.git
synced 2024-12-02 03:08:21 +08:00
ci: upgrade pnpm version (#3895)
This commit is contained in:
parent
cf112c5866
commit
647367e887
4
.github/workflows/deploy-docs.yml
vendored
4
.github/workflows/deploy-docs.yml
vendored
@ -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
|
||||
|
4
.github/workflows/preview-build.yml
vendored
4
.github/workflows/preview-build.yml
vendored
@ -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
|
||||
|
6
.github/workflows/publish-npm.yml
vendored
6
.github/workflows/publish-npm.yml
vendored
@ -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
|
||||
|
4
.github/workflows/staging-preview.yml
vendored
4
.github/workflows/staging-preview.yml
vendored
@ -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
|
||||
|
4
.github/workflows/unit-test.yml
vendored
4
.github/workflows/unit-test.yml
vendored
@ -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
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
set -e
|
||||
|
||||
pnpm i
|
||||
pnpm i --frozen-lockfile
|
||||
pnpm update:version
|
||||
|
||||
pnpm build
|
||||
|
Loading…
Reference in New Issue
Block a user