rework OrMatcher #66
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: On commit hook | |
on: [push, pull_request] | |
jobs: | |
test: | |
name: test | |
runs-on: ubuntu-20.04 | |
steps: | |
- uses: actions/[email protected] | |
- name: Setup node | |
uses: actions/setup-node@v2 | |
with: | |
# https://github.com/actions/setup-node/issues/32#issuecomment-1003854758 | |
node-version-file: '.nvmrc' | |
- name: prepare dependencies | |
run: | | |
npm install | |
npm install -g [email protected] | |
- name: test | |
run: pnpm run precommit |