fix uses of deprecated functions + add eslint-plugin-deprecation #30
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: Check formatting | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
branches: | |
- master | |
jobs: | |
check-format: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Git Checkout | |
uses: actions/checkout@v3 | |
- name: Install npm dependencies | |
run: npm install | |
- name: Format files | |
run: npm run precommit | |
- name: Check diff | |
run: | | |
git diff | |
test -z "$(git status -s)" |