Skip to content

build: remove unused dep #26

build: remove unused dep

build: remove unused dep #26

Workflow file for this run

name: Node.js CI
on:
push:
branches: [master]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [18.x]
redis-version: [6]
mongodb-version: ['5.0']
steps:
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- name: Start Redis
uses: supercharge/[email protected]
with:
redis-version: ${{ matrix.redis-version }}
- name: Start MongoDB
uses: supercharge/[email protected]
with:
mongodb-version: ${{ matrix.mongodb-version }}
- uses: pnpm/[email protected]
name: Install pnpm
id: pnpm-install
with:
version: 7
run_install: false
- name: Install dependencies
run: pnpm install
- run: pnpm test && pnpm coverage
env:
CI: true
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v2
# with:
# directory: ./coverage/reports/
# files: ./coverage1.xml,./coverage2.xml