Skip to content

fix: package.json & yarn.lock to reduce vulnerabilities #82

fix: package.json & yarn.lock to reduce vulnerabilities

fix: package.json & yarn.lock to reduce vulnerabilities #82

Workflow file for this run

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/redis-action@1.1.0
- 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