Skip to content

Move end2end to separate workflow #98

Move end2end to separate workflow

Move end2end to separate workflow #98

Workflow file for this run

name: Lint code and run tests
on: push
jobs:
build:
runs-on: ubuntu-latest
services:
mongodb:
image: mongo:5
env:
"MONGO_INITDB_ROOT_USERNAME": "root"
"MONGO_INITDB_ROOT_PASSWORD": "password"
ports:
- 27017:27017
timeout-minutes: 5
strategy:
matrix:
node-version: [16.x, 18.x, 20.x]
steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}
- run: make install
- run: make lint
- run: make test-ci
- name: "Upload coverage"
uses: codecov/[email protected]
with:
file: ./library/.tap/converage/report/lcov.info
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
slug: AikidoSec/guard-node