Skip to content

Commit

Permalink
ci: run EDR TS tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Wodann committed Sep 12, 2024
1 parent dcecbd1 commit 78f08c6
Showing 1 changed file with 36 additions and 0 deletions.
36 changes: 36 additions & 0 deletions .github/workflows/edr-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,42 @@ jobs:
# command: nextest
# args: run --workspace --all-features --all-targets

test-edr-ts:
name: Test EDR TS bindings (${{ matrix.os }})
runs-on: ${{ matrix.os }}
needs: check-edr
strategy:
fail-fast: false
matrix:
node: [18.15]
os: [ubuntu-latest, macos-latest, windows-latest]
steps:
- uses: actions/checkout@v3

- uses: pnpm/action-setup@v4
with:
version: 9

- name: Install Node
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node }}
cache: pnpm

- name: Install Rust (stable)
uses: actions-rs/toolchain@v1
with:
profile: minimal
override: true

- uses: Swatinem/rust-cache@v2

- name: Install package
run: pnpm install --frozen-lockfile --prefer-offline

- name: Run tests
run: cd crates/edr_napi && pnpm test

edr-style:
name: Check EDR Style
runs-on: ubuntu-latest
Expand Down

0 comments on commit 78f08c6

Please sign in to comment.