Skip to content

Commit

Permalink
workflow: upgrade-from-latest-release needs to be adapted until next …
Browse files Browse the repository at this point in the history
…release is out
  • Loading branch information
webzwo0i committed Jul 6, 2023
1 parent b856a24 commit 164868e
Showing 1 changed file with 23 additions and 1 deletion.
24 changes: 23 additions & 1 deletion .github/workflows/upgrade-from-latest-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,10 +36,12 @@ jobs:
-
name: Install all dependencies and symlink for ep_etherpad-lite
run: src/bin/installDeps.sh
# FIXME after 1.9.2
# After 1.9.2 is released, we need to remove '--legacy-peer-deps --no-save'
-
name: Install Etherpad plugins
run: >
npm install
npm install --legacy-peer-deps --no-save
ep_align
ep_author_hover
ep_cursortrace
Expand Down Expand Up @@ -71,9 +73,29 @@ jobs:
# For pull requests, ${GITHUB_SHA} is the automatically generated merge
# commit that merges the PR's source branch to its destination branch.
run: git checkout "${GITHUB_SHA}"
-
name: Temporary remove ./node_modules; Remove this after 1.9.2 release
run: rm -rf ./node_modules
-
name: Install all dependencies and symlink for ep_etherpad-lite
run: src/bin/installDeps.sh
-
name: Install Etherpad plugins again; Remove this after 1.9.2 release
run: >
npm install
ep_align
ep_author_hover
ep_cursortrace
ep_font_size
ep_hash_auth
ep_headings2
ep_image_upload
ep_markdown
ep_readonly_guest
ep_set_title_on_pad
ep_spellcheck
ep_subscript_and_superscript
ep_table_of_contents
-
name: Run the backend tests
run: cd src && npm test
Expand Down

0 comments on commit 164868e

Please sign in to comment.