Skip to content

chore: exclude adonisjs from tsconfig #45

chore: exclude adonisjs from tsconfig

chore: exclude adonisjs from tsconfig #45

Workflow file for this run

name: CI
on:
push:
branches:
- main
- master
- dev
pull_request:
branches:
- main
- master
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install pnpm
run: |
corepack enable
corepack prepare pnpm@latest --activate
- name: Set node
uses: actions/setup-node@v4
with:
node-version: 22.x
cache: pnpm
- name: Install
run: pnpm install
- name: Lint
run: pnpm lint
typecheck:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install pnpm
run: |
corepack enable
corepack prepare pnpm@latest --activate
- name: Set node
uses: actions/setup-node@v4
with:
node-version: 22.x
cache: pnpm
- name: Install
run: pnpm install
- name: Typecheck
run: pnpm typecheck
test:
runs-on: ubuntu-latest
strategy:
matrix:
node: [18.x, 20.x, 22.x]
env:
LOKI_HOST: ${{ secrets.LOKI_HOST }}
LOKI_USERNAME: ${{ secrets.LOKI_USERNAME }}
LOKI_PASSWORD: ${{ secrets.LOKI_PASSWORD }}
steps:
- uses: actions/checkout@v4
- name: Install pnpm
run: |
corepack enable
corepack prepare pnpm@latest --activate
- name: Set node version to ${{ matrix.node }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node }}
cache: pnpm
- name: Install
run: pnpm install
- name: Build
run: pnpm build
- name: Stub
run: pnpm stub
- name: Test
run: pnpm test