Skip to content

Commit

Permalink
Merge branch 'main' into worker
Browse files Browse the repository at this point in the history
  • Loading branch information
arusakov committed Oct 7, 2024
2 parents ed7adf5 + 74247f6 commit cf81fb7
Showing 1 changed file with 37 additions and 0 deletions.
37 changes: 37 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
name: test

on: [push]

jobs:
test:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4

- name: Use Node.js
uses: actions/setup-node@v4
with:
node-version: '20.x'

- name: Install dependencies
run: yarn --frozen-lockfile

- name: Install nats-server
uses: aricart/[email protected]
with:
repo: nats-io/nats-server
name: nats-server
cache: true

- run: nats-server -js &

- run: yarn compile
- run: yarn test:coverage

- uses: codecov/codecov-action@v4
with:
fail_ci_if_error: true
file: ./coverage/lcov.info
os: linux
token: ${{ secrets.CODECOV_TOKEN }}

0 comments on commit cf81fb7

Please sign in to comment.