Skip to content
This repository has been archived by the owner on Nov 30, 2024. It is now read-only.

tests

tests #60

Workflow file for this run

name: tests
on:
push:
branches:
- main
- '*.x'
pull_request:
schedule:
- cron: '0 0 * * *'
env:
LITESTAR_BYPASS_ENV_CHECK: 1
jobs:
tests:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [18.x, 20.x, 21.x]
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- name: Install dependencies
run: npm install
- name: ESLint
run: npm run lint
- name: Execute tests
run: npm test
- name: Run build
run: npm run build