chore(deps-dev): bump ember-template-lint from 5.13.0 to 6.0.0 #959
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI | |
on: | |
push: | |
branches: | |
- main | |
- "v*" | |
pull_request: | |
env: | |
NODE_VERSION: "18.x" | |
jobs: | |
lint: | |
name: Lint | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Install pnpm | |
uses: wyvox/action-setup-pnpm@v3 | |
with: | |
pnpm-version: 8.6.0 | |
node-version: "${{ env.NODE_VERSION }}" | |
args: "--frozen-lockfile" | |
- name: Lint | |
run: pnpm lint | |
test: | |
name: Tests | |
runs-on: ${{ matrix.os }} | |
needs: lint | |
strategy: | |
matrix: | |
os: [ubuntu-latest] | |
browser: [chrome] | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Install pnpm | |
uses: wyvox/action-setup-pnpm@v3 | |
with: | |
pnpm-version: 8.6.0 | |
node-version: "${{ env.NODE_VERSION }}" | |
args: "--frozen-lockfile" | |
- name: Run Tests | |
run: pnpm test:ember --launch ${{ matrix.browser }} | |
working-directory: test-app | |
floating-dependencies: | |
name: Floating Dependencies | |
runs-on: ${{ matrix.os }} | |
needs: lint | |
strategy: | |
matrix: | |
os: [ubuntu-latest] | |
browser: [chrome] | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Install pnpm | |
uses: wyvox/action-setup-pnpm@v3 | |
with: | |
pnpm-version: 8.6.0 | |
node-version: "${{ env.NODE_VERSION }}" | |
args: "--no-lockfile" | |
- name: Run tests | |
run: pnpm test:ember | |
working-directory: test-app | |
try-scenarios: | |
name: Tests - ${{ matrix.ember-try-scenario }} | |
runs-on: ubuntu-latest | |
continue-on-error: ${{ matrix.allow-failure }} | |
needs: test | |
strategy: | |
fail-fast: true | |
matrix: | |
ember-try-scenario: | |
- ember-lts-3.28 | |
- ember-lts-4.4 | |
- ember-lts-4.8 | |
- ember-lts-4.12 | |
- ember-classic | |
- ember-release | |
- ember-beta | |
- embroider-safe | |
- embroider-optimized | |
allow-failure: [false] | |
include: | |
- ember-try-scenario: ember-canary | |
allow-failure: true | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Install pnpm | |
uses: wyvox/action-setup-pnpm@v3 | |
with: | |
pnpm-version: 8.6.0 | |
node-version: "${{ env.NODE_VERSION }}" | |
args: "--frozen-lockfile" | |
- name: Run tests | |
run: pnpm ember try:one ${{ matrix.ember-try-scenario }} --skip-cleanup | |
working-directory: test-app | |
typescript-compatibility: | |
name: Type checking - ${{ matrix.typescript-scenario }} | |
runs-on: ubuntu-latest | |
needs: [test] | |
strategy: | |
fail-fast: false | |
matrix: | |
typescript-scenario: | |
- typescript@5.0 | |
- typescript@5.1 | |
- typescript@5.2 | |
- typescript@next | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Install pnpm | |
uses: wyvox/action-setup-pnpm@v3 | |
with: | |
pnpm-version: 8.5.1 | |
node-version: 18.x | |
args: "--frozen-lockfile" | |
- name: Update TS version on addon package | |
run: pnpm add -D ${{ matrix.typescript-scenario }} | |
working-directory: ember-prismic-dom | |
- name: Update TS version on test-app package | |
run: pnpm add -D ${{ matrix.typescript-scenario }} | |
working-directory: test-app | |
- name: Type checking | |
run: pnpm lint:types |