Skip to content

Commit

Permalink
ci: install nats server
Browse files Browse the repository at this point in the history
  • Loading branch information
aricart committed Jul 31, 2024
1 parent 97e8e5a commit 87eaffe
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions .github/workflows/natsjs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,13 +31,12 @@ jobs:
uses: denoland/setup-deno@v1
with:
deno-version: ${{ matrix.deno-version }}
- name: Set NATS Server Version
run: echo "NATS_VERSION=v2.10.17" >> $GITHUB_ENV
- name: Get nats-server
run: |
wget "https://github.com/nats-io/nats-server/releases/download/$NATS_VERSION/nats-server-$NATS_VERSION-linux-amd64.zip" -O tmp.zip
unzip tmp.zip
mv nats-server-$NATS_VERSION-linux-amd64 nats-server
- name: Install nats-server
uses: aricart/[email protected]
with:
repo: nats-io/nats-server
name: nats-server
cache: true
- run: npm ci
- run: npm run prepack
- run: npm test
Expand Down

0 comments on commit 87eaffe

Please sign in to comment.