Install pnpm in github actions
This commit is contained in:
5
.github/workflows/build_pull_request.yml
vendored
5
.github/workflows/build_pull_request.yml
vendored
@@ -13,6 +13,11 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
node-version-file: 'package.json'
|
node-version-file: 'package.json'
|
||||||
|
|
||||||
|
- uses: pnpm/action-setup@v6
|
||||||
|
name: Install pnpm
|
||||||
|
with:
|
||||||
|
cache: true
|
||||||
|
|
||||||
- name: Install modules
|
- name: Install modules
|
||||||
run: pnpm ci
|
run: pnpm ci
|
||||||
|
|
||||||
|
|||||||
5
.github/workflows/build_push_master.yml
vendored
5
.github/workflows/build_push_master.yml
vendored
@@ -29,6 +29,11 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
node-version-file: './master/package.json'
|
node-version-file: './master/package.json'
|
||||||
|
|
||||||
|
- uses: pnpm/action-setup@v6
|
||||||
|
name: Install pnpm
|
||||||
|
with:
|
||||||
|
cache: true
|
||||||
|
|
||||||
- name: Cache node_modules
|
- name: Cache node_modules
|
||||||
uses: actions/cache@v4
|
uses: actions/cache@v4
|
||||||
with:
|
with:
|
||||||
|
|||||||
5
.github/workflows/release.yml
vendored
5
.github/workflows/release.yml
vendored
@@ -34,6 +34,11 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
node-version-file: './master/package.json'
|
node-version-file: './master/package.json'
|
||||||
|
|
||||||
|
- uses: pnpm/action-setup@v6
|
||||||
|
name: Install pnpm
|
||||||
|
with:
|
||||||
|
cache: true
|
||||||
|
|
||||||
- name: Cache node_modules
|
- name: Cache node_modules
|
||||||
uses: actions/cache@v4
|
uses: actions/cache@v4
|
||||||
with:
|
with:
|
||||||
|
|||||||
5
.github/workflows/update_i18n_languages.yml
vendored
5
.github/workflows/update_i18n_languages.yml
vendored
@@ -31,6 +31,11 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
node-version-file: './master/package.json'
|
node-version-file: './master/package.json'
|
||||||
|
|
||||||
|
- uses: pnpm/action-setup@v6
|
||||||
|
name: Install pnpm
|
||||||
|
with:
|
||||||
|
cache: true
|
||||||
|
|
||||||
- name: Cache node_modules
|
- name: Cache node_modules
|
||||||
uses: actions/cache@v4
|
uses: actions/cache@v4
|
||||||
with:
|
with:
|
||||||
|
|||||||
@@ -133,5 +133,6 @@
|
|||||||
},
|
},
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": ">=24"
|
"node": ">=24"
|
||||||
}
|
},
|
||||||
|
"packageManager": "pnpm@11.1.2"
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user