mirror of
https://github.com/DavidAnson/markdownlint.git
synced 2025-12-25 18:28:49 +01:00
Rename CI workflow file from nodejs.yml to ci.yml.
This commit is contained in:
parent
532a2881f2
commit
dc4e07ad5b
1 changed files with 0 additions and 0 deletions
34
.github/workflows/nodejs.yml
vendored
34
.github/workflows/nodejs.yml
vendored
|
|
@ -1,34 +0,0 @@
|
|||
name: CI
|
||||
|
||||
on:
|
||||
pull_request:
|
||||
push:
|
||||
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: [10.x, 12.x, 14.x]
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- 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 All Validations
|
||||
if: ${{ matrix.node-version != '10.x' }}
|
||||
run: npm run ci
|
||||
- name: Run Tests Only
|
||||
if: ${{ matrix.node-version == '10.x' }}
|
||||
run: npm run test
|
||||
Loading…
Add table
Add a link
Reference in a new issue