docs(readme): fix minor typo #5
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
name: Code Review | |
on: | |
# push: | |
# branches: | |
# - main | |
pull_request: | |
branches: | |
- main | |
workflow_dispatch: | |
workflow_call: | |
permissions: | |
contents: read # for checkout | |
jobs: | |
lint: | |
name: Lint | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Setup Node.js | |
uses: actions/setup-node@v3 | |
with: | |
node-version: '20' | |
cache: 'npm' | |
- name: Install dependencies | |
run: npm install | |
- name: Linting types | |
run: npm run lint:ts | |
- name: Linting code | |
run: npm run lint:eslint | |
- name: Linting style | |
run: npm run lint:style | |
test: | |
name: Test | |
runs-on: ubuntu-latest | |
needs: | |
- lint | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Setup Node.js | |
uses: actions/setup-node@v3 | |
with: | |
node-version: '20' | |
cache: 'npm' | |
- name: Install dependencies | |
run: npm install | |
- name: Test | |
run: npm run test | |
- name: Build | |
run: npm run build |