v2.1.0 #84
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI | |
on: [push, pull_request] | |
jobs: | |
test-coverage: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: | |
- ubuntu-latest | |
node_version: | |
- 14 | |
- 16 | |
- 18 | |
name: Node ${{ matrix.node_version }} on ${{ matrix.os }} | |
steps: | |
- name: Checkout repo | |
uses: actions/checkout@v2 | |
- name: Setup node | |
uses: actions/setup-node@v2 | |
with: | |
node-version: ${{ matrix.node_version }} | |
- name: Install yarn | |
run: npm install -g yarn | |
- name: Setup redis | |
uses: zhulik/[email protected] | |
- name: Install dependencies | |
run: yarn --frozen-lockfile | |
- name: Run tests | |
run: yarn test-coverage | |
env: | |
API_HOST: 0.0.0.0 | |
- name: Uninstall yarn | |
if: always() | |
run: npm uninstall -g yarn |