[DOP-20134] Implement dataset grid & show pages #13
Workflow file for this run
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: Code analysis | |
on: | |
push: | |
branches: | |
- develop | |
pull_request: | |
branches-ignore: | |
- master | |
workflow_dispatch: | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.head_ref || github.ref }} | |
cancel-in-progress: true | |
jobs: | |
linters: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Install modules | |
run: npm ci | |
- name: Cache modules | |
uses: actions/cache@v4 | |
with: | |
path: ./node_modules | |
key: ${{ runner.os }}-npm-${{ hashFiles('**/package-lock.json') }} | |
restore-keys: | | |
${{ runner.os }}-npm-${{ hashFiles('**/package-lock.json') }} | |
${{ runner.os }}-npm- | |
- name: Run Type check | |
run: npm run type-check | |
- name: Run ESLint | |
run: npx eslint | |
- name: Run Prettier | |
run: npx prettier --check | |
- name: Build project | |
run: npm run build |