ci: windows bash

This commit is contained in:
MDLeom 2024-06-11 12:26:45 +00:00
parent ea2de32cd1
commit d2f3bc8feb
No known key found for this signature in database
GPG Key ID: 06C236E63CBC68AA
1 changed files with 4 additions and 2 deletions

View File

@ -27,9 +27,11 @@ jobs:
- name: Determine zstd binary version - name: Determine zstd binary version
shell: bash shell: bash
run: | run: |
echo "$RUNNER_OS" if [ "$RUNNER_OS" = "Windows" ]; then
echo "PLATFORM=win32-x64-msvc" >> "$GITHUB_ENV"
fi
- name: Install zstd binary - name: Install zstd binary
run: npm install "@mongodb-js/zstd-win32-x64-msvc" run: npm install "@mongodb-js/zstd-$PLATFORM"
- name: Test - name: Test
run: npm run test run: npm run test
env: env: