Skip to content

HDS::CodeEditor with Code Mirror 6 #13386

HDS::CodeEditor with Code Mirror 6

HDS::CodeEditor with Code Mirror 6 #13386

Workflow file for this run

name: CI - Components
on:
push:
branches:
- main
pull_request: {}
env:
NODE_VERSION: '20.x'
concurrency:
group: ci-components-${{ github.head_ref || github.ref }}
cancel-in-progress: true
jobs:
conditional-skip:
runs-on: ubuntu-latest
name: Get files changed and conditionally skip CI
outputs:
trigger-ci: ${{ steps.read-files.outputs.trigger-ci }}
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
with:
fetch-depth: 0
- name: Get changed files
id: read-files
run: ./.github/scripts/filter_changed_files.sh "packages/components" "packages/flight-icons/catalog.json" "showcase" ".github/workflows/ci-components.yml" "packages/tokens"
test:
name: "Tests"
runs-on: ubuntu-latest
needs: [conditional-skip]
if: needs.conditional-skip.outputs.trigger-ci == 'true'
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- name: Install Node
uses: actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af # v4.1.0
with:
node-version: ${{ env.NODE_VERSION }}
cache: yarn
cache-dependency-path: yarn.lock
- name: Install Dependencies
run: yarn install --immutable
- name: Build Components
run: yarn build
working-directory: packages/components
- name: Lint Showcase
run: yarn run lint
working-directory: showcase
- name: Lint Components
run: yarn run lint
working-directory: packages/components
- name: Run Tests
run: yarn run test:ember:percy
working-directory: showcase
env:
PERCY_TOKEN: ${{ secrets.PERCY_TOKEN_COMPONENTS }}
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:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- name: Install Node
uses: actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af # v4.1.0
with:
node-version: ${{ env.NODE_VERSION }}
cache: yarn
cache-dependency-path: yarn.lock
- name: Install Dependencies
run: yarn install --immutable
- name: Build Components
run: yarn build
working-directory: packages/components
- name: Run Tests
working-directory: showcase
run: yarn ember try:one ${{ matrix.try-scenario }}
env:
PERCY_ENABLE: 0
YARN_ENABLE_IMMUTABLE_INSTALLS: false