Merge pull request #100 from AikidoSec/test-on-win

Run unit tests on windows
This commit is contained in:
bitterpanda 2025-12-08 10:19:33 +01:00 committed by GitHub
commit 9901cb8502
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -6,7 +6,12 @@ jobs:
unit-test:
name: Run unit tests and linting
runs-on: ubuntu-latest
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
steps:
- name: Checkout code
@ -23,7 +28,7 @@ jobs:
safe-chain setup-ci
- name: Install dependencies
run: npm ci
run: npm ci --ignore-scripts
- name: Run unit tests
run: npm test
@ -35,10 +40,12 @@ jobs:
run: npm run typecheck --workspace=packages/safe-chain
- name: Create package tarball
if: matrix.os == 'ubuntu-latest'
run: npm pack --workspace=packages/safe-chain
- name: Upload package tarball
uses: actions/upload-artifact@v4
if: matrix.os == 'ubuntu-latest'
with:
name: safe-chain-package
path: aikidosec-safe-chain-*.tgz