Fixed windows build.

This commit is contained in:
SamTV12345 2024-02-10 16:21:03 +01:00
parent 1538cd344d
commit 7049372f4a
10 changed files with 22 additions and 21 deletions

View file

@ -56,7 +56,7 @@ jobs:
run: src/bin/installDeps.sh
-
name: Run the backend tests
run: cd src && npm test
run: cd src && pnpm test
withpluginsLinux:
# run on pushes to any branch
@ -135,7 +135,7 @@ jobs:
run: src/bin/installDeps.sh
-
name: Run the backend tests
run: cd src && npm test
run: cd src && pnpm test
withoutpluginsWindows:
# run on pushes to any branch
@ -181,7 +181,7 @@ jobs:
powershell -Command "(gc settings.json.holder) -replace '\"points\": 10', '\"points\": 1000' | Out-File -encoding ASCII settings.json"
-
name: Run the backend tests
run: cd src && npm test
run: cd src && pnpm test
withpluginsWindows:
# run on pushes to any branch
@ -256,4 +256,4 @@ jobs:
powershell -Command "(gc settings.json.holder) -replace '\"points\": 10', '\"points\": 1000' | Out-File -encoding ASCII settings.json"
-
name: Run the backend tests
run: cd src && npm test
run: cd src && pnpm test

View file

@ -70,7 +70,7 @@ jobs:
*) printf %s\\n "unexpected status: ${status}" >&2; exit 1;;
esac
done
(cd src && npm run test-container)
(cd src && pnpm run test-container)
git clean -dxf .
-
name: Docker meta

View file

@ -80,7 +80,7 @@ jobs:
run: src/bin/installDeps.sh
-
name: Run the backend tests
run: cd src && npm test
run: cd src && pnpm test
# Because actions/checkout@v4 is called with "ref: master" and without
# "fetch-depth: 0", the local clone does not have the ${GITHUB_SHA}
# commit. Fetch ${GITHUB_REF} to get the ${GITHUB_SHA} commit. Note that a

View file

@ -54,7 +54,7 @@ jobs:
-
name: Run the backend tests
shell: msys2 {0}
run: cd src && npm test
run: cd src && pnpm test
-
name: Build the .zip
shell: msys2 {0}