Skip to content

Add the ember-try scenarios back into the CI #28

Add the ember-try scenarios back into the CI

Add the ember-try scenarios back into the CI #28

Workflow file for this run

name: Run tests
on:
push:
branches:
- main
pull_request: {}
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version: '18.x'
- name: Install pnpm
run: npm install -g pnpm
- name: Install dependencies
run: pnpm i
- name: Run tests
run: pnpm test
try-scenarios:
name: ${{ matrix.try-scenario }}
runs-on: ubuntu-latest
needs: 'test'
strategy:
fail-fast: false
matrix:
try-scenario:
- ember-lts-3.28
- ember-lts-4.12
- ember-release
# - ember-beta
# - ember-canary
- embroider-safe
# - embroider-optimized
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version: '18.x'
cache: pnpm
cache-dependency-path: pnpm-lock.yml
- name: Install pnpm
run: npm install -g pnpm
- name: Install dependencies
run: pnpm i
- name: Run Tests
run: pnpm ember try:one ${{ matrix.try-scenario }}