mirror of
https://github.com/DavidAnson/markdownlint.git
synced 2025-12-16 14:00:13 +01:00
Bumps [actions/checkout](https://github.com/actions/checkout) from 5 to 6. - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](https://github.com/actions/checkout/compare/v5...v6) --- updated-dependencies: - dependency-name: actions/checkout dependency-version: '6' dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com>
49 lines
1,013 B
YAML
49 lines
1,013 B
YAML
name: CI
|
|
|
|
on:
|
|
pull_request:
|
|
push:
|
|
branches-ignore:
|
|
- 'dependabot/**'
|
|
schedule:
|
|
- cron: '30 12 * * *'
|
|
workflow_dispatch:
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ${{ matrix.os }}
|
|
|
|
strategy:
|
|
fail-fast: false
|
|
matrix:
|
|
os: [macos-latest, ubuntu-latest, windows-latest]
|
|
node-version: [ 20, 22, 24 ]
|
|
|
|
steps:
|
|
- uses: actions/checkout@v6
|
|
- name: Use Node.js ${{ matrix.node-version }}
|
|
uses: actions/setup-node@v6
|
|
with:
|
|
node-version: ${{ matrix.node-version }}
|
|
- name: Install Dependencies
|
|
run: npm install
|
|
- name: Run CI Tests
|
|
run: npm run ci
|
|
|
|
pnpm:
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- uses: actions/checkout@v6
|
|
- name: Use pnpm latest
|
|
uses: pnpm/action-setup@v4
|
|
with:
|
|
version: latest
|
|
- name: Use Node.js latest
|
|
uses: actions/setup-node@v6
|
|
with:
|
|
node-version: latest
|
|
- name: Install dependencies
|
|
run: pnpm install
|
|
- name: Run CI Tests
|
|
run: npm test
|