Merge pull request #645 from qonto/remove-double-pnpm-i #2406
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: Test | |
env: | |
FORCE_COLOR: 1 | |
on: | |
push: | |
branches: | |
- master | |
tags: | |
- "*" | |
pull_request: | |
jobs: | |
test: | |
name: Tests | |
runs-on: ubuntu-latest | |
timeout-minutes: 10 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Install pnpm | |
uses: wyvox/action-setup-pnpm@v3 | |
with: | |
pnpm-version: 8.5.1 | |
node-version: 16.x | |
args: "--frozen-lockfile" | |
- name: Test | |
run: pnpm test:ember | |
working-directory: test-app | |
try-scenarios: | |
name: "ember-try: ${{ matrix.ember-try-scenario }}" | |
runs-on: ubuntu-latest | |
timeout-minutes: 10 | |
needs: [test] | |
strategy: | |
fail-fast: false | |
matrix: | |
ember-try-scenario: | |
- ember-lts-3.28 | |
- ember-lts-4.4 | |
- "ember-release" | |
- "ember-beta" | |
- "ember-canary" | |
- "embroider-safe" | |
- "embroider-optimized" | |
- "ember-classic" | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Install pnpm | |
uses: wyvox/action-setup-pnpm@v3 | |
with: | |
pnpm-version: 8.5.1 | |
node-version: 16.x | |
args: "--frozen-lockfile" | |
- name: Test | |
run: pnpm ember try:one ${{ matrix.ember-try-scenario }} --skip-cleanup | |
working-directory: test-app | |
floating-dependencies: | |
name: Floating dependencies | |
runs-on: ubuntu-latest | |
timeout-minutes: 10 | |
needs: [test] | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Install pnpm | |
uses: wyvox/action-setup-pnpm@v3 | |
with: | |
pnpm-version: 8.5.1 | |
node-version: 16.x | |
args: "--no-lockfile" | |
- name: Test | |
run: pnpm test:ember | |
working-directory: test-app |