Skip to content

Update dependency eslint-plugin-mocha to v10 - autoclosed #199

Update dependency eslint-plugin-mocha to v10 - autoclosed

Update dependency eslint-plugin-mocha to v10 - autoclosed #199

Workflow file for this run

name: CI
on:
# allow manual running
workflow_dispatch:
push:
branches:
- master
pull_request:
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 12
- run: npm ci
- run: npm run lint
test:
needs: lint
strategy:
matrix:
os:
- ubuntu-latest
- macos-latest
node:
- 12
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node }}
# simulate a system that doesn't generate valid diffs
# https://github.com/ember-cli/ember-cli-update/issues/995
- run: git config --global diff.noprefix true
- run: npm ci
- run: npm test
env:
DEBUG: 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@v3
with:
ref: ${{ github.head_ref }}
token: ${{ secrets.GitHubToken }}
- uses: actions/setup-node@v3
with:
node-version: 12
- uses: kellyselden/ember-cli-update-action@v3
with:
autofix_command: npm run lint -- --fix
ignore_to: true