mirror of
https://github.com/logto-io/logto.git
synced 2024-12-30 20:33:54 -05:00
chore(deps): update pnpm to v8 (#3628)
* chore(deps): update pnpm to v8 * ci: update workflow --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Gao Sun <gao@silverhand.io>
This commit is contained in:
parent
2ed3e672de
commit
4f4fbe5076
11 changed files with 3639 additions and 3308 deletions
2
.github/workflows/changesets.yml
vendored
2
.github/workflows/changesets.yml
vendored
|
@ -37,7 +37,7 @@ jobs:
|
||||||
token: ${{ secrets.BOT_PAT }}
|
token: ${{ secrets.BOT_PAT }}
|
||||||
|
|
||||||
- name: Setup Node and pnpm
|
- name: Setup Node and pnpm
|
||||||
uses: silverhand-io/actions-node-pnpm-run-steps@v2
|
uses: silverhand-io/actions-node-pnpm-run-steps@v3
|
||||||
|
|
||||||
- name: Import GPG key
|
- name: Import GPG key
|
||||||
uses: crazy-max/ghaction-import-gpg@v5
|
uses: crazy-max/ghaction-import-gpg@v5
|
||||||
|
|
2
.github/workflows/commitlint.yml
vendored
2
.github/workflows/commitlint.yml
vendored
|
@ -21,7 +21,7 @@ jobs:
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
|
|
||||||
- name: Setup Node and pnpm
|
- name: Setup Node and pnpm
|
||||||
uses: silverhand-io/actions-node-pnpm-run-steps@v2
|
uses: silverhand-io/actions-node-pnpm-run-steps@v3
|
||||||
|
|
||||||
- name: Commitlint
|
- name: Commitlint
|
||||||
run: npx commitlint --from HEAD~${{ github.event.pull_request.commits }} --to HEAD
|
run: npx commitlint --from HEAD~${{ github.event.pull_request.commits }} --to HEAD
|
||||||
|
|
4
.github/workflows/integration-test.yml
vendored
4
.github/workflows/integration-test.yml
vendored
|
@ -24,7 +24,7 @@ jobs:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
|
|
||||||
- name: Setup Node and pnpm
|
- name: Setup Node and pnpm
|
||||||
uses: silverhand-io/actions-node-pnpm-run-steps@v2
|
uses: silverhand-io/actions-node-pnpm-run-steps@v3
|
||||||
|
|
||||||
- name: Build and package
|
- name: Build and package
|
||||||
if: matrix.env != 'cloud'
|
if: matrix.env != 'cloud'
|
||||||
|
@ -72,7 +72,7 @@ jobs:
|
||||||
cp tests/package.json ./
|
cp tests/package.json ./
|
||||||
|
|
||||||
- name: Setup Node and pnpm
|
- name: Setup Node and pnpm
|
||||||
uses: silverhand-io/actions-node-pnpm-run-steps@v2
|
uses: silverhand-io/actions-node-pnpm-run-steps@v3
|
||||||
with:
|
with:
|
||||||
run-install: false
|
run-install: false
|
||||||
|
|
||||||
|
|
8
.github/workflows/main.yml
vendored
8
.github/workflows/main.yml
vendored
|
@ -19,7 +19,7 @@ jobs:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
|
|
||||||
- name: Setup Node and pnpm
|
- name: Setup Node and pnpm
|
||||||
uses: silverhand-io/actions-node-pnpm-run-steps@v2
|
uses: silverhand-io/actions-node-pnpm-run-steps@v3
|
||||||
|
|
||||||
- name: Build
|
- name: Build
|
||||||
run: pnpm ci:build
|
run: pnpm ci:build
|
||||||
|
@ -31,7 +31,7 @@ jobs:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
|
|
||||||
- name: Setup Node and pnpm
|
- name: Setup Node and pnpm
|
||||||
uses: silverhand-io/actions-node-pnpm-run-steps@v2
|
uses: silverhand-io/actions-node-pnpm-run-steps@v3
|
||||||
|
|
||||||
- name: Prepack
|
- name: Prepack
|
||||||
run: pnpm prepack
|
run: pnpm prepack
|
||||||
|
@ -49,7 +49,7 @@ jobs:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
|
|
||||||
- name: Setup Node and pnpm
|
- name: Setup Node and pnpm
|
||||||
uses: silverhand-io/actions-node-pnpm-run-steps@v2
|
uses: silverhand-io/actions-node-pnpm-run-steps@v3
|
||||||
|
|
||||||
- name: Build for test
|
- name: Build for test
|
||||||
run: pnpm -r build:test
|
run: pnpm -r build:test
|
||||||
|
@ -118,7 +118,7 @@ jobs:
|
||||||
run: cp ./fresh/pnpm-lock.yaml ./
|
run: cp ./fresh/pnpm-lock.yaml ./
|
||||||
|
|
||||||
- name: Setup Node and pnpm
|
- name: Setup Node and pnpm
|
||||||
uses: silverhand-io/actions-node-pnpm-run-steps@v2
|
uses: silverhand-io/actions-node-pnpm-run-steps@v3
|
||||||
with:
|
with:
|
||||||
run-install: false
|
run-install: false
|
||||||
|
|
||||||
|
|
2
.github/workflows/master-codecov-report.yml
vendored
2
.github/workflows/master-codecov-report.yml
vendored
|
@ -14,7 +14,7 @@ jobs:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
|
|
||||||
- name: Setup Node and pnpm
|
- name: Setup Node and pnpm
|
||||||
uses: silverhand-io/actions-node-pnpm-run-steps@v2
|
uses: silverhand-io/actions-node-pnpm-run-steps@v3
|
||||||
|
|
||||||
- name: Build for test
|
- name: Build for test
|
||||||
run: pnpm -r build:test
|
run: pnpm -r build:test
|
||||||
|
|
6
.github/workflows/release.yml
vendored
6
.github/workflows/release.yml
vendored
|
@ -158,7 +158,7 @@ jobs:
|
||||||
|
|
||||||
- name: Setup Node and pnpm
|
- name: Setup Node and pnpm
|
||||||
if: ${{ (inputs.target || 'dev') == 'dev' && matrix.target == 'core' }}
|
if: ${{ (inputs.target || 'dev') == 'dev' && matrix.target == 'core' }}
|
||||||
uses: silverhand-io/actions-node-pnpm-run-steps@v2
|
uses: silverhand-io/actions-node-pnpm-run-steps@v3
|
||||||
|
|
||||||
- name: Deploy database alteration
|
- name: Deploy database alteration
|
||||||
if: ${{ (inputs.target || 'dev') == 'dev' && matrix.target == 'core' }}
|
if: ${{ (inputs.target || 'dev') == 'dev' && matrix.target == 'core' }}
|
||||||
|
@ -223,7 +223,7 @@ jobs:
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
|
|
||||||
- name: Setup Node and pnpm
|
- name: Setup Node and pnpm
|
||||||
uses: silverhand-io/actions-node-pnpm-run-steps@v2
|
uses: silverhand-io/actions-node-pnpm-run-steps@v3
|
||||||
|
|
||||||
- name: Import GPG key
|
- name: Import GPG key
|
||||||
uses: crazy-max/ghaction-import-gpg@v5
|
uses: crazy-max/ghaction-import-gpg@v5
|
||||||
|
@ -253,7 +253,7 @@ jobs:
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
|
|
||||||
- name: Setup Node and pnpm
|
- name: Setup Node and pnpm
|
||||||
uses: silverhand-io/actions-node-pnpm-run-steps@v2
|
uses: silverhand-io/actions-node-pnpm-run-steps@v3
|
||||||
|
|
||||||
- name: Build
|
- name: Build
|
||||||
run: pnpm -r build
|
run: pnpm -r build
|
||||||
|
|
2
.github/workflows/upload-annotations.yml
vendored
2
.github/workflows/upload-annotations.yml
vendored
|
@ -22,7 +22,7 @@ jobs:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
|
|
||||||
- name: Setup Node and pnpm
|
- name: Setup Node and pnpm
|
||||||
uses: silverhand-io/actions-node-pnpm-run-steps@v2
|
uses: silverhand-io/actions-node-pnpm-run-steps@v3
|
||||||
|
|
||||||
- name: Prepack
|
- name: Prepack
|
||||||
run: pnpm prepack
|
run: pnpm prepack
|
||||||
|
|
|
@ -7,7 +7,7 @@ ENV CI=true
|
||||||
ENV PUPPETEER_SKIP_CHROMIUM_DOWNLOAD=true
|
ENV PUPPETEER_SKIP_CHROMIUM_DOWNLOAD=true
|
||||||
|
|
||||||
### Install toolchain ###
|
### Install toolchain ###
|
||||||
RUN npm add --location=global pnpm@^7.14.0
|
RUN npm add --location=global pnpm@^8.0.0
|
||||||
# https://github.com/nodejs/docker-node/blob/main/docs/BestPractices.md#node-gyp-alpine
|
# https://github.com/nodejs/docker-node/blob/main/docs/BestPractices.md#node-gyp-alpine
|
||||||
RUN apk add --no-cache python3 make g++
|
RUN apk add --no-cache python3 make g++
|
||||||
|
|
||||||
|
|
|
@ -7,7 +7,7 @@ ENV CI=true
|
||||||
ENV PUPPETEER_SKIP_CHROMIUM_DOWNLOAD=true
|
ENV PUPPETEER_SKIP_CHROMIUM_DOWNLOAD=true
|
||||||
|
|
||||||
### Install toolchain ###
|
### Install toolchain ###
|
||||||
RUN npm add --location=global pnpm@^7.14.0
|
RUN npm add --location=global pnpm@^8.0.0
|
||||||
# https://github.com/nodejs/docker-node/blob/main/docs/BestPractices.md#node-gyp-alpine
|
# https://github.com/nodejs/docker-node/blob/main/docs/BestPractices.md#node-gyp-alpine
|
||||||
RUN apk add --no-cache python3 make g++
|
RUN apk add --no-cache python3 make g++
|
||||||
|
|
||||||
|
|
|
@ -34,7 +34,7 @@
|
||||||
},
|
},
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": "^18.12.0",
|
"node": "^18.12.0",
|
||||||
"pnpm": "^7.22.0"
|
"pnpm": "^8.0.0"
|
||||||
},
|
},
|
||||||
"alias": {
|
"alias": {
|
||||||
"html-parse-stringify": "html-parse-stringify/dist/html-parse-stringify.module.js",
|
"html-parse-stringify": "html-parse-stringify/dist/html-parse-stringify.module.js",
|
||||||
|
|
6915
pnpm-lock.yaml
6915
pnpm-lock.yaml
File diff suppressed because it is too large
Load diff
Loading…
Reference in a new issue