Skip to content

Commit

Permalink
fix ci
Browse files Browse the repository at this point in the history
  • Loading branch information
ota-meshi committed Jan 29, 2025
1 parent 8a3d04e commit acd48d9
Showing 1 changed file with 24 additions and 4 deletions.
28 changes: 24 additions & 4 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,10 +40,6 @@ jobs:
- eslint: 9
node: 'lts/*'
os: macos-latest
# On old ESLint versions
- eslint: 8
node: 'lts/*'
os: ubuntu-latest

runs-on: ${{ matrix.os }}
steps:
Expand All @@ -63,6 +59,30 @@ jobs:
run: npm run -s build
- name: Test
run: npm run -s test:mocha
test-for-old-eslint:
name: Test
strategy:
matrix:
eslint: [8]
node: ['lts/*']
os: [ubuntu-latest]

runs-on: ${{ matrix.os }}
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Checkout submodules
run: git submodule update --init
- name: Install Node.js v${{ matrix.node }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node }}
- name: Install Packages
run: npm install -f
- name: Install ESLint v${{ matrix.eslint }}
run: node scripts/ci-install-eslint ${{ matrix.eslint }}
- name: Test
run: npm run -s test:debug

test-cov:
name: Test and Send Coverage
Expand Down

0 comments on commit acd48d9

Please sign in to comment.