0
Fork 0
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:
renovate[bot] 2023-03-30 18:51:20 +08:00 committed by GitHub
parent 2ed3e672de
commit 4f4fbe5076
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
11 changed files with 3639 additions and 3308 deletions

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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++

View file

@ -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++

View file

@ -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",

File diff suppressed because it is too large Load diff