Version Packages #389
Workflow file for this run
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 | |
pull_request: {} | |
concurrency: | |
group: ci-${{ github.head_ref || github.ref }} | |
cancel-in-progress: true | |
jobs: | |
license: | |
name: 'License Checks' | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout Repo | |
uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3 | |
- name: Install copywrite | |
uses: hashicorp/setup-copywrite@v1.0.0 | |
- name: Validate Header Compliance | |
run: copywrite headers --plan | |
test: | |
name: 'Tests' | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3 | |
- name: Install Node | |
uses: actions/setup-node@e33196f7422957bea03ed53f6fbb155025ffc7b8 # v3.7.0 | |
with: | |
node-version: 18.x | |
cache: yarn | |
- name: Install Dependencies | |
run: yarn install --immutable | |
- name: Prepare Toolkit | |
run: yarn prepare | |
- name: Lint | |
run: yarn lint | |
- name: Run Tests | |
run: yarn test | |
floating: | |
name: 'Floating Dependencies' | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3 | |
- uses: actions/setup-node@e33196f7422957bea03ed53f6fbb155025ffc7b8 # v3.7.0 | |
with: | |
node-version: 18.x | |
cache: yarn | |
- name: Remove lockfile | |
run: rm yarn.lock | |
- name: Install Dependencies | |
run: YARN_ENABLE_IMMUTABLE_INSTALLS=false yarn install | |
- name: Prepare Toolkit | |
run: yarn prepare | |
- name: Run Tests | |
run: yarn 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.4 | |
- ember-release | |
- ember-beta | |
- ember-canary | |
- ember-classic | |
- embroider-safe | |
steps: | |
- uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3 | |
- name: Install Node | |
uses: actions/setup-node@e33196f7422957bea03ed53f6fbb155025ffc7b8 # v3.7.0 | |
with: | |
node-version: 18.x | |
cache: yarn | |
- name: Install Dependencies | |
run: yarn install --immutable | |
- name: Prepare Toolkit | |
run: yarn prepare | |
- name: Run Tests | |
run: yarn ember try:one ${{ matrix.try-scenario }} | |
working-directory: documentation | |
env: | |
YARN_ENABLE_IMMUTABLE_INSTALLS: false |