Skip to content

Merge branch '0.x' into feat/lazy-start #46

Merge branch '0.x' into feat/lazy-start

Merge branch '0.x' into feat/lazy-start #46

Workflow file for this run

name: CI
on:
- push
- pull_request
- workflow_call
permissions:
contents: read
jobs:
lint:
uses: adonisjs/.github/.github/workflows/lint.yml@main
typecheck:
uses: adonisjs/.github/.github/workflows/typecheck.yml@main
tests:
runs-on: ubuntu-latest
env:
REDIS_HOST: 127.0.0.1
REDIS_PORT: 6379
strategy:
matrix:
node-version: ['lts/krypton', 'latest']
services:
redis:
image: redis
options: >-
--health-cmd "redis-cli ping"
--health-interval 10s
--health-timeout 5s
--health-retries 5
ports:
- 6379:6379
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
- name: Install dependencies
run: npm install
- name: Run tests
run: npm test