mirror of
https://github.com/DavidAnson/markdownlint.git
synced 2025-12-16 22:10:13 +01:00
Add GitHub Action for running CI tests.
This commit is contained in:
parent
3e91da338c
commit
3cd7457fb4
1 changed files with 24 additions and 0 deletions
24
.github/workflows/nodejs.yml
vendored
Normal file
24
.github/workflows/nodejs.yml
vendored
Normal file
|
|
@ -0,0 +1,24 @@
|
||||||
|
name: Node.js CI
|
||||||
|
|
||||||
|
on: [push, pull_request]
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
build:
|
||||||
|
|
||||||
|
runs-on: ${{ matrix.os }}
|
||||||
|
|
||||||
|
strategy:
|
||||||
|
matrix:
|
||||||
|
os: [macos-latest, ubuntu-latest, windows-latest]
|
||||||
|
node-version: [8.x, 10.x, 12.x]
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v1
|
||||||
|
- name: Use Node.js ${{ matrix.node-version }}
|
||||||
|
uses: actions/setup-node@v1
|
||||||
|
with:
|
||||||
|
node-version: ${{ matrix.node-version }}
|
||||||
|
- name: Install Dependencies
|
||||||
|
run: npm install --no-package-lock
|
||||||
|
- name: Run Tests
|
||||||
|
run: npm run ci
|
||||||
Loading…
Add table
Add a link
Reference in a new issue