Merge pull request #1153 from macbre/dependabot/npm_and_yarn/globals-… #2463
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: Linter and code style | |
on: | |
push: | |
branches: [ master ] | |
pull_request: | |
jobs: | |
lint_and_style: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: latest | |
- name: Install dependencies | |
run: npm ci | |
- name: Run prettier | |
run: npx prettier --check . | |
- name: Run check-dts | |
run: npm run check-dts | |
- name: Run eslint | |
run: npm run lint |