fix readme for syntax mistake in example table. #12
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
on: | |
pull_request: | |
branches: ['**'] | |
types: [synchronize, opened, reopened, ready_for_review] | |
push: | |
branches: [main] | |
jobs: | |
lint: | |
runs-on: ubuntu-latest | |
if: github.event.pull_request.draft == false # run this job only if the PR is not in a draft state | |
strategy: | |
matrix: | |
node: [ '18' ] | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-node@v2 | |
with: | |
node-version: ${{ matrix.node }} | |
- run: npm i | |
- name: lint | |
run: ./node_modules/.bin/prettier --check **/*.ts | |
- run: tsc | |
- name: test | |
run: npm run test |