Skip to content

change(core): the JSONCodec and StringCodec utilities have been remov… #221

change(core): the JSONCodec and StringCodec utilities have been remov…

change(core): the JSONCodec and StringCodec utilities have been remov… #221

name: test transport-node with local modules
on:
push:
paths:
- "core/**"
- "jetstream/**"
- "kv/**"
- "obj/**"
- "services/**"
branches:
- "*"
pull_request:
branches: [main]
types: [opened]
jobs:
test:
strategy:
matrix:
deno-version: [1.45.x]
node-version: [22.x]
name: test node transport with local dependencies
runs-on: ubuntu-latest-4-cores
steps:
- name: Git Checkout Core
uses: actions/checkout@v4
with:
fetch-depth: 1
- name: Use Deno Version ${{ matrix.deno-version }}
uses: denoland/setup-deno@v1
with:
deno-version: ${{ matrix.deno-version }}
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
- name: Install nats-server
uses: aricart/install-binary@v1.0.0
with:
repo: nats-io/nats-server
name: nats-server
cache: true
- name: Disable NPM workspace
run: |
deno task disable-npm-workspace
- name: Test Node Transport with specified dependencies
working-directory: transport-node
env:
CI: true
run: |
npm install
npm test