Skip to content

docs: update Message API reference #438

docs: update Message API reference

docs: update Message API reference #438

Workflow file for this run

name: ci
#on: [push, pull_request]
on:
# Triggers the workflow on push or pull request events but only for the master branch
push:
branches: [ master ]
pull_request:
branches: [ master ]
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
jobs:
tests:
strategy:
matrix:
os:
- ubuntu-latest
node:
- 18
- 20
redis:
- 4
- 5
- 6
- 7
runs-on: ${{ matrix.os }}
steps:
- name: Use Node.js ${{ matrix.node }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node }}
- name: Start Redis ${{ matrix.redis }}
uses: weyoss/redis-github-action@25915a901815971e3f91b3ae7010ab9fdca79392
with:
redis-version: ${{ matrix.redis }}
- name: Check out repository code
uses: actions/checkout@v2
- name: Install dependencies
run: npm ci
- name: Run type coverage
run: npm run type-coverage
- name: Run tests and collect code coverage
run: npm test
if: success()
- name: Upload code coverage
uses: codecov/codecov-action@v2
if: success()