mirror of
https://github.com/ether/etherpad-lite.git
synced 2026-07-17 16:47:05 +00:00
chore: use gnpm (#7156)
* chore: use gnpm * chore: fixed pnpm * chore: fixed gnpm * chore: fixed jq * chore: use 0.0.7 * chore: use flag for building * chore: fixed all backend tests * chore: continue with porting things * chore: fixed path * chore: fixed backend tests * chore: upgraded all to gnpm * chore: updated to gnpm 0.0.9 * chore: echo current env with debug logs * chore: install with frozen lockfile * chore: use 0.0.10 * chore: use 0.0.11 * chore: use 0.0.12 globally * chore: reworked handleRelease workflow to be up to date and depend on other workflows
This commit is contained in:
parent
4dc9c76cc9
commit
d5a23d5347
14 changed files with 431 additions and 517 deletions
36
.github/workflows/release.yml
vendored
36
.github/workflows/release.yml
vendored
|
|
@ -14,6 +14,9 @@ on:
|
|||
- minor
|
||||
- major
|
||||
|
||||
env:
|
||||
PNPM_HOME: ~/.pnpm-store
|
||||
|
||||
jobs:
|
||||
releases:
|
||||
runs-on: ubuntu-latest
|
||||
|
|
@ -44,24 +47,25 @@ jobs:
|
|||
repository: ether/ether.github.com
|
||||
path: ether.github.com
|
||||
token: '${{ secrets.ETHER_RELEASE_TOKEN }}'
|
||||
- name: Setup Node.js
|
||||
uses: actions/setup-node@v5
|
||||
- uses: actions/cache@v4
|
||||
name: Setup gnpm cache
|
||||
if: always()
|
||||
with:
|
||||
node-version: '20'
|
||||
- uses: pnpm/action-setup@v4
|
||||
name: Install pnpm
|
||||
path: |
|
||||
${{ env.STORE_PATH }}
|
||||
~/.local/share/gnpm
|
||||
~/.cache/ms-playwright
|
||||
/usr/local/bin/gnpm
|
||||
/usr/local/bin/gnpm-0.0.12
|
||||
key: ${{ runner.os }}-gnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }}
|
||||
restore-keys: |
|
||||
${{ runner.os }}-gnpm-store-
|
||||
- name: Setup gnpm
|
||||
uses: SamTV12345/gnpm-setup@main
|
||||
with:
|
||||
version: 10
|
||||
run_install: false
|
||||
- name: Get pnpm store directory
|
||||
shell: bash
|
||||
run: |
|
||||
echo "STORE_PATH=$(pnpm store path --silent)" >> $GITHUB_ENV
|
||||
- name: Install dependencies etherpad
|
||||
run: pnpm install --frozen-lockfile
|
||||
working-directory: etherpad
|
||||
version: 0.0.12
|
||||
- name: Install dependencies ether.github.com
|
||||
run: pnpm install --frozen-lockfile
|
||||
run: gnpm install --frozen-lockfile
|
||||
working-directory: ether.github.com
|
||||
- name: Set git user
|
||||
run: |
|
||||
|
|
@ -78,7 +82,7 @@ jobs:
|
|||
working-directory: etherpad
|
||||
run: |
|
||||
cd bin
|
||||
pnpm run release ${{ inputs.release_type }}
|
||||
gnpm run release ${{ inputs.release_type }}
|
||||
- name: Push after release
|
||||
working-directory: etherpad
|
||||
run: |
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue