Skip to content

convert to vitest

convert to vitest #52

Workflow file for this run

name: CI
on:
push:
branches: [ $default-branch ]
pull_request:
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v4
- uses: actions/setup-node@v4
with:
node-version: 20.x
cache: pnpm
- run: pnpm i --frozen-lockfile
- run: pnpm run lint
tests:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
node-version: [18.x, 20.x, 22.x]
steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v4
- uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
cache: pnpm
- run: pnpm i --frozen-lockfile
- run: pnpm test
ember-template-lint-versions:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
template-lint-version: [5, 6]
steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v4
- uses: actions/setup-node@v4
with:
node-version: 20.x
cache: pnpm
- run: pnpm i --frozen-lockfile
- run: pnpm install ember-template-lint@${{ matrix.template-lint-version }}
- run: pnpm test