Skip to content

Merge pull request #364 from EscolaLMS/feature/update-newcoursecard #1224

Merge pull request #364 from EscolaLMS/feature/update-newcoursecard

Merge pull request #364 from EscolaLMS/feature/update-newcoursecard #1224

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: [20.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: [20.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: [20.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