Skip to content

.NET API

.NET API #171

Workflow file for this run

name: Testing
on:
push:
branches:
- main
pull_request:
types: [opened, synchronize, reopened]
branches:
- main
jobs:
Audit:
if: github.event_name == 'push' || github.event_name == 'pull_request'
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Install Node.js 18.x
uses: actions/setup-node@v2
with:
node-version: 18.x
- name: NPM Audit
run: npm audit
Lint:
if: github.event_name == 'push' || github.event_name == 'pull_request'
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Install Node.js 18.x
uses: actions/setup-node@v2
with:
node-version: 18.x
- name: Install dependencies
run: npm ci
- name: Prettier
run: npm run prettier:check
- name: Stylelint
run: npm run stylelint:check -- -f github
- name: Markdownlint
run: npm run markdownlint:check