Skip to content

fix issue when multiple operations use same channel (#67) #113

fix issue when multiple operations use same channel (#67)

fix issue when multiple operations use same channel (#67) #113

Workflow file for this run

name: Unit Tests
on: [push, pull_request]
jobs:
run:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
# We must fetch at least the immediate parents so that if this is
# a pull request then we can checkout the head.
fetch-depth: 2
# If this run was triggered by a pull request event, then checkout
# the head of the pull request instead of the merge commit.
- run: git checkout HEAD^2
if: ${{ github.event_name == 'pull_request' }}
- name: Setup nodejs and run tests
uses: actions/setup-node@v4
with:
node-version: 18
- run: |
npm ci
npm run lint
npm test
- name: Upload coverage reports to Codecov with GitHub Action
uses: codecov/[email protected]
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}