Update ember-raf-scheduler #892
Workflow file for this run
This file contains hidden or 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: Ember-Table CI | |
| on: | |
| pull_request: | |
| types: [opened, synchronize, reopened, ready_for_review] | |
| jobs: | |
| test: | |
| name: Run Tests | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 7 | |
| steps: | |
| - name: "Install StepSecurity Action" | |
| id: step_security | |
| uses: step-security/harden-runner@8d3c67de8e2fe68ef647c8db1e6a09f647780f40 # v2.19.0 | |
| with: | |
| egress-policy: audit | |
| - name: Checkout | |
| uses: actions/checkout@v6 | |
| - name: Install mise and tools | |
| uses: jdx/mise-action@v4 | |
| with: | |
| install: true | |
| cache: true | |
| - name: Enable corepack | |
| run: corepack enable | |
| - name: Node Modules Cache | |
| id: cache-npm | |
| uses: actions/cache@v5 | |
| with: | |
| path: '**/node_modules' | |
| key: ci-yarn-${{ hashFiles('**/yarn.lock') }} | |
| - name: Install Dependencies | |
| if: steps.cache-npm.outputs.cache-hit != 'true' | |
| run: yarn install --frozen-lockfile | |
| - name: Lint | |
| run: yarn lint | |
| - name: Run Tests | |
| run: yarn test | |
| env: | |
| CI: true | |
| test-ember-try: | |
| name: Run Tests | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 10 | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| ember-version: | |
| [ | |
| embroider-safe, | |
| # embroider-optimized, | |
| ember-lts-3.28, | |
| ember-lts-4.4, | |
| ember-lts-4.12, | |
| ember-lts-5.4, | |
| ember-lts-5.12, | |
| ember-release, | |
| # ember-production, | |
| ember-default-docs | |
| ] | |
| steps: | |
| - name: "Install StepSecurity Action" | |
| id: step_security | |
| uses: step-security/harden-runner@8d3c67de8e2fe68ef647c8db1e6a09f647780f40 # v2.19.0 | |
| with: | |
| egress-policy: audit | |
| - name: Checkout | |
| uses: actions/checkout@v6 | |
| - name: Install mise and tools | |
| uses: jdx/mise-action@v4 | |
| with: | |
| install: true | |
| cache: true | |
| - name: Enable corepack | |
| run: corepack enable | |
| - name: Stash yarn.lock for cache key | |
| run: cp yarn.lock __cache-key | |
| - name: Node Modules Cache | |
| id: cache-npm | |
| uses: actions/cache@v5 | |
| with: | |
| path: | | |
| node_modules | |
| package.json | |
| yarn.lock | |
| __env | |
| key: ci-yarn-v3-${{ matrix.ember-version }}-${{ hashFiles('tests/dummy/config/ember-try.js', '__cache-key') }} | |
| restore-keys: | | |
| ci-yarn-${{ hashFiles('yarn.lock') }} | |
| - name: Install Dependencies | |
| if: steps.cache-npm.outputs.cache-hit != 'true' | |
| run: yarn install --frozen-lockfile | |
| - name: Run Tests | |
| run: yarn test:ember-compatibility ${{ matrix.ember-version }} --skip-cleanup |