mirror of
https://github.com/theoludwig/markdownlint-rule-relative-links.git
synced 2026-06-09 23:25:33 +02:00
33 lines
703 B
YAML
33 lines
703 B
YAML
name: "Test"
|
|
|
|
on:
|
|
push:
|
|
branches: [develop]
|
|
pull_request:
|
|
branches: [main, develop]
|
|
|
|
jobs:
|
|
test:
|
|
strategy:
|
|
fail-fast: false
|
|
matrix:
|
|
runs-on:
|
|
- "ubuntu-latest"
|
|
- "windows-latest"
|
|
- "macos-latest"
|
|
runs-on: "${{ matrix.runs-on }}"
|
|
steps:
|
|
- uses: "actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10" # v6.0.3
|
|
|
|
- name: "Setup Node.js"
|
|
uses: "actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e" # v6.4.0
|
|
with:
|
|
node-version: "lts/*"
|
|
cache: "npm"
|
|
|
|
- name: "Install dependencies"
|
|
run: "npm clean-install"
|
|
|
|
- name: "Test"
|
|
run: "node --run test"
|