1
0
mirror of https://github.com/misskey-dev/misskey synced 2024-11-24 07:06:31 +09:00

ci: use pnpm version from packageManager field in the package.json. (#13825)

This commit is contained in:
anatawa12 2024-05-20 18:55:42 +09:00 committed by GitHub
parent f6df94070b
commit ed74f7b4a8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
9 changed files with 13 additions and 51 deletions

View File

@ -24,9 +24,7 @@ jobs:
ref: refs/pull/${{ github.event.pull_request.number }}/merge
- name: setup pnpm
uses: pnpm/action-setup@v3
with:
version: 9
uses: pnpm/action-setup@v4
- name: setup node
id: setup-node

View File

@ -32,10 +32,7 @@ jobs:
ref: ${{ matrix.ref }}
submodules: true
- name: Install pnpm
uses: pnpm/action-setup@v3
with:
version: 9
run_install: false
uses: pnpm/action-setup@v4
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4.0.2
with:

View File

@ -27,10 +27,7 @@ jobs:
with:
fetch-depth: 0
submodules: true
- uses: pnpm/action-setup@v3
with:
version: 9
run_install: false
- uses: pnpm/action-setup@v4
- uses: actions/setup-node@v4.0.2
with:
node-version-file: '.node-version'
@ -54,10 +51,7 @@ jobs:
with:
fetch-depth: 0
submodules: true
- uses: pnpm/action-setup@v3
with:
version: 9
run_install: false
- uses: pnpm/action-setup@v4
- uses: actions/setup-node@v4.0.2
with:
node-version-file: '.node-version'
@ -80,10 +74,7 @@ jobs:
with:
fetch-depth: 0
submodules: true
- uses: pnpm/action-setup@v3
with:
version: 9
run_install: false
- uses: pnpm/action-setup@v4
- uses: actions/setup-node@v4.0.2
with:
node-version-file: '.node-version'

View File

@ -24,10 +24,7 @@ jobs:
with:
submodules: true
- name: Install pnpm
uses: pnpm/action-setup@v3
with:
version: 9
run_install: false
uses: pnpm/action-setup@v4
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4.0.2
with:

View File

@ -34,10 +34,7 @@ jobs:
echo "base=$(git rev-list --parents -n1 HEAD | cut -d" " -f2)" >> $GITHUB_OUTPUT
git checkout $(git rev-list --parents -n1 HEAD | cut -d" " -f3)
- name: Install pnpm
uses: pnpm/action-setup@v3
with:
version: 9
run_install: false
uses: pnpm/action-setup@v4
- name: Use Node.js 20.x
uses: actions/setup-node@v4.0.2
with:

View File

@ -41,10 +41,7 @@ jobs:
with:
submodules: true
- name: Install pnpm
uses: pnpm/action-setup@v3
with:
version: 9
run_install: false
uses: pnpm/action-setup@v4
- name: Install FFmpeg
uses: FedericoCarboni/setup-ffmpeg@v3
- name: Use Node.js ${{ matrix.node-version }}
@ -93,10 +90,7 @@ jobs:
with:
submodules: true
- name: Install pnpm
uses: pnpm/action-setup@v3
with:
version: 9
run_install: false
uses: pnpm/action-setup@v4
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4.0.2
with:

View File

@ -33,10 +33,7 @@ jobs:
with:
submodules: true
- name: Install pnpm
uses: pnpm/action-setup@v3
with:
version: 9
run_install: false
uses: pnpm/action-setup@v4
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4.0.2
with:
@ -91,10 +88,7 @@ jobs:
#- uses: browser-actions/setup-firefox@latest
# if: ${{ matrix.browser == 'firefox' }}
- name: Install pnpm
uses: pnpm/action-setup@v3
with:
version: 9
run_install: false
uses: pnpm/action-setup@v4
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4.0.2
with:

View File

@ -23,10 +23,7 @@ jobs:
with:
submodules: true
- name: Install pnpm
uses: pnpm/action-setup@v3
with:
version: 9
run_install: false
uses: pnpm/action-setup@v4
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4.0.2
with:

View File

@ -24,10 +24,7 @@ jobs:
with:
submodules: true
- name: Install pnpm
uses: pnpm/action-setup@v3
with:
version: 9
run_install: false
uses: pnpm/action-setup@v4
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4.0.2
with: