Skip to content

Merge pull request #11 from DIRACGrid/dependabot/npm_and_yarn/types/n… #22

Merge pull request #11 from DIRACGrid/dependabot/npm_and_yarn/types/n…

Merge pull request #11 from DIRACGrid/dependabot/npm_and_yarn/types/n… #22

Workflow file for this run

name: Basic checks
on:
# Triggers the workflow on push or pull request events but only for the master branch
push:
branches: [main]
pull_request:
branches: [main]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install dependencies
run: npm install
- name: Check formatting rules
run: npx prettier . --check
- name: Check code-quality rules
run: npm run lint
- name: Check typescript type validity
run: npm run ts-lint