chore: ember-cli-update-action #500
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: CI | ||
| on: | ||
| # allow manual running | ||
| workflow_dispatch: | ||
| push: | ||
| branches: | ||
| - main | ||
| pull_request: | ||
| jobs: | ||
| lint: | ||
| runs-on: ubuntu-latest | ||
| steps: | ||
| - uses: actions/checkout@v5 | ||
| - uses: actions/setup-node@v5 | ||
| with: | ||
| node-version: 20 | ||
| <<<<<<< HEAD | ||
| - uses: pnpm/action-setup@v4.1.0 | ||
| with: | ||
| version: 10.15.1 | ||
| - run: pnpm install | ||
| - run: npm run lint:git | ||
| - run: npm run lint:js | ||
| ======= | ||
| - run: npm ci | ||
| - run: npm run lint | ||
| >>>>>>> 8c794af (v6.11.0...v6.11.1) | ||
| test: | ||
| needs: lint | ||
| strategy: | ||
| matrix: | ||
| os: | ||
| - ubuntu-latest | ||
| - macos-latest | ||
| node: | ||
| - 20 | ||
| - '*' | ||
| exclude: | ||
| - os: macos-latest | ||
| node: '*' | ||
| runs-on: ${{ matrix.os }} | ||
| steps: | ||
| - uses: actions/checkout@v5 | ||
| - uses: actions/setup-node@v5 | ||
| with: | ||
| node-version: ${{ matrix.node }} | ||
| <<<<<<< HEAD | ||
| - uses: pnpm/action-setup@v4.1.0 | ||
| with: | ||
| version: 10.15.1 | ||
| - run: pnpm install | ||
| ======= | ||
| - run: npm ci | ||
| >>>>>>> 8c794af (v6.11.0...v6.11.1) | ||
| - run: npm test | ||
| continue-on-error: ${{ matrix.os == 'macos-latest' }} | ||
| env: | ||
| TEST_TYPE: addon | ||
| DEBUG: ember-cli-update,boilerplate-update,git-diff-apply | ||
| ember-cli-update: | ||
| needs: test | ||
| if: github.event_name == 'pull_request' && github.event.pull_request.head.repo.full_name == github.repository | ||
| runs-on: ubuntu-latest | ||
| steps: | ||
| - uses: actions/checkout@v5 | ||
| with: | ||
| ref: ${{ github.head_ref }} | ||
| token: ${{ secrets.GitHubToken }} | ||
| - uses: actions/setup-node@v5 | ||
| with: | ||
| node-version: 20 | ||
| - uses: pnpm/action-setup@v4.1.0 | ||
| with: | ||
| version: 10.15.1 | ||
| - uses: kellyselden/ember-cli-update-action@v7 | ||
| with: | ||
| autofix_command: npm run lint:js -- --fix | ||
| ignore_to: true | ||
| commit_prefix: "chore: " | ||