Merge pull request #84 from ef4/release-plan #191
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: | |
- master | |
- main | |
pull_request: | |
jobs: | |
test: | |
name: Tests | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- uses: pnpm/action-setup@v4 | |
with: | |
version: 8 | |
- name: Setup node.js | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 16 | |
cache: pnpm | |
- name: Install dependencies | |
run: pnpm i --frozen-lockfile | |
- name: Lint | |
run: pnpm lint | |
- name: Test | |
run: pnpm test | |
test-no-lock: | |
name: Floating Dependencies | |
runs-on: ubuntu-latest | |
needs: | |
- test | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- uses: pnpm/action-setup@v4 | |
with: | |
version: 8 | |
- name: Setup node.js | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 16 | |
cache: pnpm | |
- name: Install dependencies | |
run: pnpm i --no-lockfile | |
- name: Test | |
run: pnpm test | |
test-try: | |
name: Additional Tests | |
runs-on: ubuntu-latest | |
needs: | |
- test | |
strategy: | |
fail-fast: false | |
matrix: | |
scenario: | |
- ember-lts-3.20 | |
- ember-lts-3.24 | |
- ember-release | |
- ember-beta | |
- ember-canary | |
- embroider-safe | |
- embroider-optimized | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- uses: pnpm/action-setup@v4 | |
with: | |
version: 8 | |
- name: Setup node.js | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 16 | |
cache: pnpm | |
- name: Install dependencies | |
run: pnpm i --frozen-lockfile | |
- name: Test | |
run: pnpm ember try:one ${{ matrix.scenario }} |