Skip to content

chore: improve github action #2

chore: improve github action

chore: improve github action #2

Workflow file for this run

name: Continuous Integration
on: push
jobs:
coverage:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [latest]
redis-version: [7]
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Docker compose
run: docker compose up --build -d
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
- name: Install Deps & Tests
run: npm ci
run: npm run test:cov

Check failure on line 27 in .github/workflows/ci.yml

View workflow run for this annotation

GitHub Actions / Continuous Integration

Invalid workflow file

The workflow is not valid. .github/workflows/ci.yml (Line: 27, Col: 9): 'run' is already defined