Skip to content

CopySnippet: convert to TypeScript (HDS-2689) #10538

CopySnippet: convert to TypeScript (HDS-2689)

CopySnippet: convert to TypeScript (HDS-2689) #10538

name: CI - Ember Flight Icons
on:
push:
branches:
- main
pull_request: {}
env:
NODE_VERSION: '20.x'
concurrency:
group: ci-ember-flight-icons-${{ 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@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4
with:
fetch-depth: 0
- name: Get changed files
id: read-files
run: ./.github/scripts/filter_changed_files.sh "packages/ember-flight-icons" ".github/workflows/ci-ember-flight-icons.yml"
lint:
needs: [conditional-skip]
name: "Lint"
runs-on: ubuntu-latest
if: needs.conditional-skip.outputs.trigger-ci == 'true'
steps:
- uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4
- name: Install Node
uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4.0.2
with:
node-version: ${{ env.NODE_VERSION }}
cache: yarn
cache-dependency-path: yarn.lock
- name: Install Dependencies
run: yarn install --immutable
- name: Lint
run: yarn run lint
working-directory: packages/ember-flight-icons