mirror of
https://github.com/DavidAnson/markdownlint.git
synced 2025-12-25 10:20:13 +01:00
Bumps [actions/checkout](https://github.com/actions/checkout) from 3 to 4. - [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/v3...v4) --- updated-dependencies: - dependency-name: actions/checkout dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com>
40 lines
989 B
YAML
40 lines
989 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: [ 16, 18, 20 ]
|
|
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- name: Use Node.js ${{ matrix.node-version }}
|
|
uses: actions/setup-node@v3
|
|
with:
|
|
node-version: ${{ matrix.node-version }}
|
|
- name: Install Dependencies
|
|
run: npm install --no-package-lock
|
|
- name: Run CI Tests
|
|
run: npm run ci
|
|
- name: Install markdownlint-micromark Dependencies
|
|
run: npm run install-micromark
|
|
- name: Build markdownlint-micromark
|
|
run: npm run build-micromark
|
|
- name: Install local markdownlint-micromark
|
|
run: npm install --no-package-lock ./micromark
|
|
- name: Test with local markdownlint-micromark
|
|
run: npm test
|