Skip to content

restore pull_request to ci trigger #44

restore pull_request to ci trigger

restore pull_request to ci trigger #44

Workflow file for this run

name: CI
on: [ pull_request, push ]
env:
CI: true
jobs:
lint:
uses: haraka/.github/.github/workflows/lint.yml@master
# coverage:
# uses: haraka/.github/.github/workflows/coverage.yml@master
# secrets: inherit
test:
needs: lint
runs-on: ${{ matrix.os }}
services:
redis:
image: redis
ports:
- 6379:6379
strategy:
matrix:
os: [ ubuntu-latest ]
node-version: [ 16, 18 ]
fail-fast: false
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
name: Node ${{ matrix.node-version }} on ${{ matrix.os }}
with:
node-version: ${{ matrix.node-version }}
- run: npm install
- run: npm test