Updated checkPlugin to work again and added updated workflow files.

This commit is contained in:
SamTV12345 2024-03-16 23:11:11 +01:00
parent cb56ec0c17
commit 59b87e0631
4 changed files with 82 additions and 26 deletions

View file

@ -83,4 +83,10 @@ jobs:
-
name: Run the backend tests
working-directory: ./etherpad-lite
run: pnpm run test
run: |
res=$(find .. -path "./node_modules/ep_*/static/tests/backend/specs/**" | wc -l)
if [ $res -eq 0 ]; then
echo "No backend tests found"
else
pnpm run test
fi

View file

@ -8,7 +8,6 @@ on:
jobs:
publish-npm:
if: ${{ github.event.workflow_run.conclusion == 'success' }}
runs-on: ubuntu-latest
steps:
- uses: actions/setup-node@v4

View file

@ -10,7 +10,7 @@ jobs:
uses: ./.github/workflows/frontend-tests.yml
secrets: inherit
release:
if: ${{ github.ref == 'refs/heads/master'|| github.ref == 'refs/heads/main' }}
if: ${{ github.ref == 'refs/heads/master' || github.ref == 'refs/heads/main' }}
needs:
- backend
- frontend