Fixed windows pipeline

This commit is contained in:
SamTV12345 2024-08-08 21:44:25 +02:00
parent e17aa9af96
commit 9f2a48e944

View file

@ -60,10 +60,11 @@ jobs:
- -
name: Run the backend tests name: Run the backend tests
shell: msys2 {0} shell: msys2 {0}
run: cd src && pnpm test working-directory: src
run: pnpm test
- -
name: Run Etherpad name: Run Etherpad
working-directory: etherpad/src working-directory: src
run: | run: |
pnpm i pnpm i
pnpm exec playwright install --with-deps pnpm exec playwright install --with-deps
@ -72,14 +73,12 @@ jobs:
pnpm exec playwright install chromium --with-deps pnpm exec playwright install chromium --with-deps
pnpm run test-ui --project=chromium pnpm run test-ui --project=chromium
# On release, create release # On release, create release
-
name: Rename to etherpad-lite-win.zip
shell: powershell
run: mv etherpad-win.zip etherpad-lite-win.zip
- name: Generate Changelog - name: Generate Changelog
if: ${{startsWith(github.ref, 'refs/tags/v') }} if: ${{startsWith(github.ref, 'refs/tags/v') }}
working-directory: bin working-directory: bin
run: pnpm run generateChangelog ${{ github.ref }} > ${{ github.workspace }}-CHANGELOG.txt run: pnpm run generateChangelog ${{ github.ref }} > ${{ github.workspace }}-CHANGELOG.txt
- name: Output changelog
run: cat ${{ github.workspace }}-CHANGELOG.txt
- name: Release - name: Release
uses: softprops/action-gh-release@v2 uses: softprops/action-gh-release@v2
if: ${{startsWith(github.ref, 'refs/tags/v') }} if: ${{startsWith(github.ref, 'refs/tags/v') }}