diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ebd5449..dcd2556 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -36,10 +36,29 @@ jobs: - name: Build run: npm run build + test: + strategy: + fail-fast: false + matrix: + runs-on: [ubuntu-latest, macos-latest, windows-latest] + runs-on: ${{ matrix.runs-on }} + needs: build + + steps: + - uses: actions/checkout@v4 + + - name: Setup nodejs 20.x + uses: actions/setup-node@v4 + with: + node-version: 20.x + + - name: Install dependencies + run: npm ci + - name: Test run: npm run test - test: + test-run: strategy: fail-fast: false matrix: