Skip to content

fix/WELLMS-292

fix/WELLMS-292 #1012

Workflow file for this run

name: Static Code Analysts Tests
on:
push:
branches: [main]
pull_request:
types: [assigned, opened, synchronize, reopened]
jobs:
tsc:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [16.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: Npm install
run: npm i --legacy-peer-deps
- name: TypeScript tsc
run: ./node_modules/.bin/tsc --project tsconfig.json --noEmit --v
eslint:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [16.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: Npm install
run: npm i --legacy-peer-deps
- name: Lint TypeScript
run: npm run eslint
stylelint:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [16.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: Npm install
run: npm i --legacy-peer-deps
- name: Lint TypeScript
run: npm run stylelint