Skip to content

Commit

Permalink
nodeci
Browse files Browse the repository at this point in the history
  • Loading branch information
aricart committed Jul 8, 2024
1 parent 3a0e15f commit b2ec9e5
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 2 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/core.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ jobs:
strategy:
matrix:
deno-version: [1.x.x]
node-version: [ 22.x ]
permissions:
contents: read
id-token: write
Expand Down Expand Up @@ -44,6 +45,11 @@ jobs:
deno fmt --check
deno lint
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}

- name: Test Deno Module
working-directory: core
env:
Expand All @@ -53,4 +59,21 @@ jobs:
run: |
deno task test
- name: Build NPM core bundle
working-directory: core
env:
CI: true
run: |
npm ci
npm run prepack
npm link
- name: Test Node Transport with local nats-core
working-directory: transport-node
env:
CI: true
run: |
npm ci
npm run prepack
npm link @nats-io/nats-core
npm test
4 changes: 2 additions & 2 deletions .github/workflows/transport-node-test.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Test nats.js
name: test transport-node with local modules

on:
push:
Expand Down Expand Up @@ -89,7 +89,7 @@ jobs:
npm run prepack
npm link
- name: Test Node Transport
- name: Test Node Transport with local dependencies
working-directory: transport-node
env:
CI: true
Expand Down

0 comments on commit b2ec9e5

Please sign in to comment.