Merge pull request #496 from EscolaLMS/feature/compomnents-bump #1451
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: static analysis | |
on: | |
push: | |
branches: [main] | |
pull_request: | |
types: [assigned, opened, synchronize, reopened] | |
jobs: | |
static-analysis: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
#node-version: [10.x, 12.x, 14.x, 15.x] | |
node-version: [20] | |
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/ | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Use Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v3 | |
with: | |
node-version: ${{ matrix.node-version }} | |
- name: Install and Build | |
run: npm i | |
- name: ESLint | |
run: ./node_modules/.bin/eslint --fix --max-warnings 25 src | |
- name: TypeScript tsc | |
run: ./node_modules/.bin/tsc --project tsconfig.json --noEmit |