Skip to content

Replace dependency eslint-plugin-node with eslint-plugin-n ^14.0.0 #2871

Replace dependency eslint-plugin-node with eslint-plugin-n ^14.0.0

Replace dependency eslint-plugin-node with eslint-plugin-n ^14.0.0 #2871

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@v4
- uses: pnpm/action-setup@v4
- uses: actions/setup-node@v4
with:
node-version: 22
cache: pnpm
- run: pnpm install
- run: pnpm run lint
test:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os:
- ubuntu-latest
- macos-latest
node-version:
- 20
- 22
- 24
test-command:
- test:bin
- test:fast
exclude:
- os: macos-latest
test-command: test:fast
steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v4
- name: Setup Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
cache: pnpm
# for test cache hits
- run: pnpm add -g [email protected]
- run: pnpm install
- run: pnpm run ${{ matrix.test-command }} -- --retries 1
timeout-minutes: 20
env:
NODE_LTS: ${{ matrix.node != '*' }}
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@v4
with:
ref: ${{ github.head_ref }}
- uses: pnpm/action-setup@v4
- uses: actions/setup-node@v4
with:
node-version: 22
cache: pnpm
- uses: kellyselden/ember-cli-update-action@v5
with:
autofix_command: npm run lint -- --fix
ignore_to: true