temp CI bump #446
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: CI | |
| # These trigger patterns courtesy of https://github.com/broccolijs/broccoli/pull/436 | |
| on: | |
| pull_request: | |
| push: | |
| # filtering branches here prevents duplicate builds from pull_request and push | |
| branches: | |
| - master | |
| - 'v*' | |
| - standalone-template-transform | |
| # always run CI for tags | |
| tags: | |
| - '*' | |
| env: | |
| CI: true | |
| jobs: | |
| test: | |
| name: Test Packages | |
| strategy: | |
| matrix: | |
| os: [ubuntu-latest, windows-latest] | |
| runs-on: ${{ matrix.os }} | |
| steps: | |
| - name: Checkout Code | |
| uses: actions/checkout@v4 | |
| - name: Install Node | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version-file: package.json | |
| - name: Load Cached Dependencies | |
| uses: actions/cache@v4 | |
| with: | |
| enableCrossOsArchive: true | |
| path: | | |
| node_modules | |
| packages/*/node_modules | |
| test-packages/*/node_modules | |
| key: npm-${{ hashFiles('yarn.lock') }} | |
| restore-keys: | | |
| npm-${{ hashFiles('yarn.lock') }} | |
| npm- | |
| - name: Install Dependencies | |
| run: yarn install --frozen-lockfile | |
| - name: Build | |
| run: yarn build | |
| - name: v1 app with `ember-css-modules` and classic build | |
| run: yarn workspace app-v1-ecm test:ember | |
| - name: v1 app with `ember-css-modules` and `@embroider/webpack` | |
| env: { EMBROIDER: 'true' } | |
| run: yarn workspace app-v1-ecm test:ember | |
| - name: v1 app with `ember-local-class` and `ember-auto-import` | |
| run: yarn workspace app-v1-elc test:ember | |
| - name: v1 app with `ember-local-class` and `@embroider/webpack` | |
| env: { EMBROIDER: 'true' } | |
| run: yarn workspace app-v1-elc test:ember | |
| - name: v2 app | |
| run: yarn workspace app-v2 test:ember |