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/redis-github-action@1.4.0
with:
redis-version: ${{ matrix.redis-version }}
- name: Start MongoDB
uses: supercharge/mongodb-github-action@1.7.0
with:
mongodb-version: ${{ matrix.mongodb-version }}
- uses: pnpm/action-setup@v2.0.1
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