Skip to content

Merge pull request #40 from dknutsen/patch-1 #91

Merge pull request #40 from dknutsen/patch-1

Merge pull request #40 from dknutsen/patch-1 #91

Workflow file for this run

name: CI
on:
push:
branches:
- main
pull_request: {}
jobs:
cache-dependencies:
name: Cache dependencies
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v4
- uses: wyvox/action-setup-pnpm@v3
lint:
name: lint
env:
CI: true
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: wyvox/action-setup-pnpm@v3
- run: pnpm build
- run: pnpm i -f # lazy way to sync injected deps
- run: pnpm lint
test-default:
name: Test
env:
CI: true
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: wyvox/action-setup-pnpm@v3
- run: pnpm build
- run: pnpm i -f # lazy way to sync injected deps
- run: pnpm run test
working-directory: ./test-app
test-min-supported:
name: Test min supported
env:
CI: true
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: wyvox/action-setup-pnpm@v3
- run: pnpm build
- run: pnpm i -f # lazy way to sync injected deps
- run: pnpm run test
working-directory: ./test-app-min-supported
test-min-supported-classic:
name: Test min supported classic (non-embroider)
env:
CI: true
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: wyvox/action-setup-pnpm@v3
- run: pnpm build
- run: pnpm i -f # lazy way to sync injected deps
- run: pnpm run test
working-directory: ./test-app-min-supported-classic
ember-try:
name: "Ember Try"
env:
CI: true
runs-on: ubuntu-latest
strategy:
matrix:
try-scenario:
[
ember-lts-4.4,
ember-lts-4.8,
ember-lts-4.12,
ember-lts-5.4,
ember-lts-5.8,
# test suite does not support ember 6 atm,
# but the library should work in ember 6 just fine
# ember-release,
# ember-beta,
# ember-canary,
]
steps:
- uses: actions/checkout@v4
- uses: wyvox/action-setup-pnpm@v3
- run: pnpm build
- run: pnpm i -f # lazy way to sync injected deps
- run: node_modules/.bin/ember try:one ${{ matrix.try-scenario }} --skip-cleanup
working-directory: ./test-app
timeout-minutes: 10