Skip to content

Commit c6a361f

Browse files
committed
Update server-tests.yml to streamline sharp installation and specify MongoDB version for tests
1 parent f1d8921 commit c6a361f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/server-tests.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,10 +30,10 @@ jobs:
3030
- name: Install dependencies in server directory
3131
run: |
3232
cd server
33-
npm uninstall sharp
34-
npm install --platform=linux --arch=x64 --libc=musl
35-
npm rebuild sharp
33+
npm install --platform=linux --libc=musl
3634
3735
- name: Run tests in server directory
36+
env:
37+
MONGOMS_VERSION: 7.0.6 # Specify MongoDB version for Alpine
3838
run: npm test
3939
working-directory: ./server

0 commit comments

Comments
 (0)