mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-05-08 08:01:02 -04:00
Fixed windows script.
This commit is contained in:
parent
269f171434
commit
d5063aeb48
6 changed files with 21 additions and 7 deletions
18
.github/workflows/backend-tests.yml
vendored
18
.github/workflows/backend-tests.yml
vendored
|
@ -76,6 +76,22 @@ jobs:
|
||||||
uses: actions/setup-node@v4
|
uses: actions/setup-node@v4
|
||||||
with:
|
with:
|
||||||
node-version: ${{ matrix.node }}
|
node-version: ${{ matrix.node }}
|
||||||
|
- uses: pnpm/action-setup@v3
|
||||||
|
name: Install pnpm
|
||||||
|
with:
|
||||||
|
version: 8
|
||||||
|
run_install: false
|
||||||
|
- name: Get pnpm store directory
|
||||||
|
shell: bash
|
||||||
|
run: |
|
||||||
|
echo "STORE_PATH=$(pnpm store path --silent)" >> $GITHUB_ENV
|
||||||
|
- uses: actions/cache@v3
|
||||||
|
name: Setup pnpm cache
|
||||||
|
with:
|
||||||
|
path: ${{ env.STORE_PATH }}
|
||||||
|
key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }}
|
||||||
|
restore-keys: |
|
||||||
|
${{ runner.os }}-pnpm-store-
|
||||||
-
|
-
|
||||||
name: Install libreoffice
|
name: Install libreoffice
|
||||||
run: |
|
run: |
|
||||||
|
@ -87,7 +103,7 @@ jobs:
|
||||||
# The --legacy-peer-deps flag is required to work around a bug in npm v7:
|
# The --legacy-peer-deps flag is required to work around a bug in npm v7:
|
||||||
# https://github.com/npm/cli/issues/2199
|
# https://github.com/npm/cli/issues/2199
|
||||||
run: >
|
run: >
|
||||||
npm install --no-save --legacy-peer-deps
|
pnpm install --no-save
|
||||||
ep_align
|
ep_align
|
||||||
ep_author_hover
|
ep_author_hover
|
||||||
ep_cursortrace
|
ep_cursortrace
|
||||||
|
|
1
.github/workflows/docker.yml
vendored
1
.github/workflows/docker.yml
vendored
|
@ -39,7 +39,6 @@ jobs:
|
||||||
uses: actions/setup-node@v4
|
uses: actions/setup-node@v4
|
||||||
with:
|
with:
|
||||||
node-version: 'lts/*'
|
node-version: 'lts/*'
|
||||||
cache: 'npm'
|
|
||||||
- uses: pnpm/action-setup@v3
|
- uses: pnpm/action-setup@v3
|
||||||
name: Install pnpm
|
name: Install pnpm
|
||||||
with:
|
with:
|
||||||
|
|
3
.github/workflows/frontend-tests.yml
vendored
3
.github/workflows/frontend-tests.yml
vendored
|
@ -26,7 +26,6 @@ jobs:
|
||||||
uses: actions/setup-node@v4
|
uses: actions/setup-node@v4
|
||||||
with:
|
with:
|
||||||
node-version: 21
|
node-version: 21
|
||||||
cache: 'npm'
|
|
||||||
- uses: pnpm/action-setup@v3
|
- uses: pnpm/action-setup@v3
|
||||||
name: Install pnpm
|
name: Install pnpm
|
||||||
with:
|
with:
|
||||||
|
@ -99,7 +98,7 @@ jobs:
|
||||||
# The --legacy-peer-deps flag is required to work around a bug in npm v7:
|
# The --legacy-peer-deps flag is required to work around a bug in npm v7:
|
||||||
# https://github.com/npm/cli/issues/2199
|
# https://github.com/npm/cli/issues/2199
|
||||||
run: >
|
run: >
|
||||||
npm install --no-save --legacy-peer-deps
|
pnpm install
|
||||||
ep_align
|
ep_align
|
||||||
ep_author_hover
|
ep_author_hover
|
||||||
ep_cursortrace
|
ep_cursortrace
|
||||||
|
|
2
.github/workflows/load-test.yml
vendored
2
.github/workflows/load-test.yml
vendored
|
@ -73,7 +73,7 @@ jobs:
|
||||||
# The --legacy-peer-deps flag is required to work around a bug in npm v7:
|
# The --legacy-peer-deps flag is required to work around a bug in npm v7:
|
||||||
# https://github.com/npm/cli/issues/2199
|
# https://github.com/npm/cli/issues/2199
|
||||||
run: >
|
run: >
|
||||||
npm install --no-save --legacy-peer-deps
|
pnpm install --no-save
|
||||||
ep_align
|
ep_align
|
||||||
ep_author_hover
|
ep_author_hover
|
||||||
ep_cursortrace
|
ep_cursortrace
|
||||||
|
|
|
@ -50,7 +50,7 @@ jobs:
|
||||||
# The --legacy-peer-deps flag is required to work around a bug in npm
|
# The --legacy-peer-deps flag is required to work around a bug in npm
|
||||||
# v7: https://github.com/npm/cli/issues/2199
|
# v7: https://github.com/npm/cli/issues/2199
|
||||||
run: >
|
run: >
|
||||||
pnpm install --no-save --legacy-peer-deps
|
pnpm install --no-save
|
||||||
ep_align
|
ep_align
|
||||||
ep_author_hover
|
ep_author_hover
|
||||||
ep_cursortrace
|
ep_cursortrace
|
||||||
|
|
|
@ -14,7 +14,7 @@ cd /D node_modules
|
||||||
mklink /D "ep_etherpad-lite" "..\src"
|
mklink /D "ep_etherpad-lite" "..\src"
|
||||||
|
|
||||||
cd /D "ep_etherpad-lite"
|
cd /D "ep_etherpad-lite"
|
||||||
cmd /C npm ci --legacy-peer-deps || exit /B 1
|
cmd /C pnpm i || exit /B 1
|
||||||
|
|
||||||
cd /D "%~dp0\..\.."
|
cd /D "%~dp0\..\.."
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue