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:
|
||||
node-version-file: 'package.json'
|
||||
|
||||
- uses: pnpm/action-setup@v6
|
||||
name: Install pnpm
|
||||
with:
|
||||
cache: true
|
||||
|
||||
- name: Install modules
|
||||
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:
|
||||
node-version-file: './master/package.json'
|
||||
|
||||
- uses: pnpm/action-setup@v6
|
||||
name: Install pnpm
|
||||
with:
|
||||
cache: true
|
||||
|
||||
- name: Cache node_modules
|
||||
uses: actions/cache@v4
|
||||
with:
|
||||
|
||||
5
.github/workflows/release.yml
vendored
5
.github/workflows/release.yml
vendored
@@ -34,6 +34,11 @@ jobs:
|
||||
with:
|
||||
node-version-file: './master/package.json'
|
||||
|
||||
- uses: pnpm/action-setup@v6
|
||||
name: Install pnpm
|
||||
with:
|
||||
cache: true
|
||||
|
||||
- name: Cache node_modules
|
||||
uses: actions/cache@v4
|
||||
with:
|
||||
|
||||
5
.github/workflows/update_i18n_languages.yml
vendored
5
.github/workflows/update_i18n_languages.yml
vendored
@@ -31,6 +31,11 @@ jobs:
|
||||
with:
|
||||
node-version-file: './master/package.json'
|
||||
|
||||
- uses: pnpm/action-setup@v6
|
||||
name: Install pnpm
|
||||
with:
|
||||
cache: true
|
||||
|
||||
- name: Cache node_modules
|
||||
uses: actions/cache@v4
|
||||
with:
|
||||
|
||||
Reference in New Issue
Block a user