Skip to content

chore(pipeline): run workflows with node 16 #150

chore(pipeline): run workflows with node 16

chore(pipeline): run workflows with node 16 #150

Workflow file for this run

name: "Validation"
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
markdownlint:
runs-on: ubuntu-latest
name: 'MarkdownLint'
steps:
- name: Checkout Code
uses: actions/checkout@v3
- name: Validate Markdown Sources
uses: nosborn/[email protected]
with:
files: .
eslint:
runs-on: ubuntu-latest
name: 'ESLint'
strategy:
matrix:
node-version: [14.x, 16.x]
steps:
- name: Checkout Code
uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache: "npm"
- name: Install Dependencies
run: npm install
- name: Validate JS Sources
run: npm run validate:js
stylelint:
runs-on: ubuntu-latest
name: 'Stylelint'
strategy:
matrix:
node-version: [14.x, 16.x]
steps:
- name: Checkout Code
uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache: "npm"
- name: Install Dependencies
run: npm install
- name: Validate CSS Sources
run: npm run validate:css